mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 07:54:58 +00:00
Removed PerconaTest::{wait_until_no_lag|wait_until_slaves_running}, replaced them with Sandbox::wait_for_slaves
This commit is contained in:
@@ -63,7 +63,7 @@ my $scripts = "$trunk/t/pt-table-checksum/scripts/";
|
||||
$master_dbh->do('drop table if exists percona.checksums');
|
||||
|
||||
# Must not be lagging.
|
||||
wait_until_no_lag($slave1_dbh, $slave2_dbh);
|
||||
$sb->wait_for_slaves();
|
||||
|
||||
# This big fancy command waits until it sees the checksum for sakila.city
|
||||
# in the repl table on the master, then it stops slave2 for 2 seconds,
|
||||
@@ -96,7 +96,7 @@ is(
|
||||
);
|
||||
|
||||
# Now wait until the SQL thread is started again.
|
||||
wait_until_slave_running($slave1_dbh, $slave2_dbh);
|
||||
$sb->wait_for_slaves();
|
||||
|
||||
# #############################################################################
|
||||
# Wait for --replicate table to replicate.
|
||||
@@ -130,7 +130,7 @@ like(
|
||||
);
|
||||
|
||||
$slave2_dbh->do("START SLAVE");
|
||||
wait_until_slave_running($slave2_dbh);
|
||||
$sb->wait_for_slaves();
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
|
Reference in New Issue
Block a user