mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
c9f0a4a9bf
Most of the mtr tests in the galera_3nodes suite fail for a variety of reasons with a variety of errors. Some tests simply need to add the missing "connection" lines to the result files, but many of them fail due to substantial errors that require reworking test files. This patch adds the missing "connection" lines to the result files and fixes several substantial flaws in the galera_3nodes suite tests and in the mtr framework service files, adapting the tests from galera_3nodes for the current version of MariaDB. https://jira.mariadb.org/browse/MDEV-18426
14 lines
327 B
PHP
14 lines
327 B
PHP
#
|
|
# This macro suspends the current node
|
|
#
|
|
|
|
--let _SUSPEND_NODE_PIDFILE = `SELECT @@pid_file`
|
|
--echo Suspending node ...
|
|
|
|
--perl
|
|
my $pid_filename = $ENV{'_SUSPEND_NODE_PIDFILE'};
|
|
my $mysqld_pid = `cat $pid_filename`;
|
|
chomp($mysqld_pid);
|
|
system("kill -SIGSTOP $mysqld_pid");
|
|
exit(0);
|
|
EOF
|