From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/galera_3nodes/include/galera_resume.inc | 9 +++++++++ mysql-test/suite/galera_3nodes/include/have_garbd.inc | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 mysql-test/suite/galera_3nodes/include/galera_resume.inc create mode 100644 mysql-test/suite/galera_3nodes/include/have_garbd.inc (limited to 'mysql-test/suite/galera_3nodes/include') 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 + diff --git a/mysql-test/suite/galera_3nodes/include/have_garbd.inc b/mysql-test/suite/galera_3nodes/include/have_garbd.inc new file mode 100644 index 00000000..560372c2 --- /dev/null +++ b/mysql-test/suite/galera_3nodes/include/have_garbd.inc @@ -0,0 +1,3 @@ +if (!$MTR_GARBD_EXE) { + skip Needs garbd; +} -- cgit v1.2.3