mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-10 01:12:18 +08:00
PT-2161 - Fix tests for pt-slave-restart (#599)
Added REPLICATION_THREADS=0 to tests which suppose that replication is single-threaded, because new default in 8.0 is 4 replication threads. Fixed clean up code in t/pt-slave-restart/pt-slave-restart.t
This commit is contained in:
@@ -20,7 +20,7 @@ if ( $sandbox_version lt '5.6' ) {
|
||||
}
|
||||
|
||||
diag('Restarting the sandbox');
|
||||
diag(`SAKILA=0 GTID=1 $trunk/sandbox/test-env restart`);
|
||||
diag(`SAKILA=0 REPLICATION_THREADS=0 GTID=1 $trunk/sandbox/test-env restart`);
|
||||
diag("Sandbox restarted");
|
||||
|
||||
my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
|
||||
Reference in New Issue
Block a user