mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
Added master server restart in the cleanup for t/pt-online-schema-change/pt-2168-cancel.t test, so next test is not affected by not properly closed connections in 5.7
This commit is contained in:
@@ -174,10 +174,15 @@ diag(`mv $cnf.bak $cnf`);
|
|||||||
diag(`/tmp/12347/stop >/dev/null`);
|
diag(`/tmp/12347/stop >/dev/null`);
|
||||||
diag(`/tmp/12347/start >/dev/null`);
|
diag(`/tmp/12347/start >/dev/null`);
|
||||||
|
|
||||||
diag("Dropping test database");
|
diag("Dropping test databases");
|
||||||
|
$master_dbh->do("DROP DATABASE test_recursion_method");
|
||||||
$master_dbh->do("DROP DATABASE IF EXISTS test");
|
$master_dbh->do("DROP DATABASE IF EXISTS test");
|
||||||
$sb->wait_for_slaves();
|
$sb->wait_for_slaves();
|
||||||
|
|
||||||
$sb->wipe_clean($master_dbh);
|
$sb->wipe_clean($master_dbh);
|
||||||
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
||||||
|
|
||||||
|
diag(`/tmp/12345/stop >/dev/null`);
|
||||||
|
diag(`/tmp/12345/start >/dev/null`);
|
||||||
|
|
||||||
done_testing;
|
done_testing;
|
||||||
|
Reference in New Issue
Block a user