diff options
Diffstat (limited to 'mysql-test/suite/galera_3nodes/include/galera_resume.inc')
-rw-r--r-- | mysql-test/suite/galera_3nodes/include/galera_resume.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/galera_3nodes/include/galera_resume.inc b/mysql-test/suite/galera_3nodes/include/galera_resume.inc new file mode 100644 index 00000000..af8f2b95 --- /dev/null +++ b/mysql-test/suite/galera_3nodes/include/galera_resume.inc @@ -0,0 +1,9 @@ +--echo Resuming node ... +--perl + my $pid_filename = $ENV{'_SUSPEND_NODE_PIDFILE'}; + my $mysqld_pid = `cat $pid_filename`; + chomp($mysqld_pid); + system("kill -SIGCONT $mysqld_pid"); + exit(0); +EOF + |