mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-19 01:00:34 +08:00
Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves().
This commit is contained in:
@@ -260,7 +260,6 @@ is(
|
||||
# ############################################################################
|
||||
$master_dbh->do('truncate table percona.checksums');
|
||||
$sb->load_file('master', "t/pt-table-checksum/samples/3tbl-resume.sql");
|
||||
PerconaTest::wait_for_table($slave1_dbh, 'test.t3', "id=26");
|
||||
|
||||
$master_dbh->do('set sql_log_bin=0');
|
||||
$master_dbh->do('truncate table test.t1');
|
||||
@@ -405,7 +404,6 @@ like(
|
||||
# Bug 932442: column with 2 spaces
|
||||
# #############################################################################
|
||||
$sb->load_file('master', "t/pt-table-checksum/samples/2-space-col.sql");
|
||||
PerconaTest::wait_for_table($master_dbh, "test.t", "id=10");
|
||||
|
||||
$output = output(
|
||||
sub { $exit_status = pt_table_checksum::main(@args,
|
||||
@@ -429,7 +427,6 @@ is(
|
||||
# Bug 821675: can't parse column names containing periods
|
||||
# #############################################################################
|
||||
$sb->load_file('master', "t/pt-table-checksum/samples/dot.sql");
|
||||
PerconaTest::wait_for_table($master_dbh, "test.t", "`No.`='ten'");
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
|
||||
@@ -55,7 +55,6 @@ my $sample = "t/pt-table-checksum/samples/";
|
||||
# line 2206
|
||||
# ############################################################################
|
||||
$sb->load_file('master', "$sample/undef-arrayref-bug-995274.sql");
|
||||
PerconaTest::wait_for_table($slave_dbh, "test.GroupMembers", "id=493076");
|
||||
|
||||
# Must chunk the table so an index is used.
|
||||
$output = output(
|
||||
@@ -84,7 +83,6 @@ cmp_ok(
|
||||
# #############################################################################
|
||||
$master_dbh->do("DROP DATABASE IF EXISTS percona"); # clear old checksums
|
||||
$sb->load_file('master', "$sample/empty-table-bug-987393.sql");
|
||||
PerconaTest::wait_for_table($slave_dbh, "test.test_full", "id=1");
|
||||
|
||||
$output = output(
|
||||
sub { $exit_status = pt_table_checksum::main(
|
||||
|
||||
@@ -145,7 +145,6 @@ is(
|
||||
# Bug 978432: PK is ignored
|
||||
# #############################################################################
|
||||
$sb->load_file('master', "t/pt-table-checksum/samples/not-using-pk-bug.sql");
|
||||
PerconaTest::wait_for_table($dbh, "test.multi_resource_apt", "apt_id=4 AND res_id=4");
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
|
||||
@@ -117,7 +117,6 @@ $master_dbh->do("LOAD DATA LOCAL INFILE '$trunk/t/pt-table-checksum/samples/600c
|
||||
$master_dbh->do("SET SQL_LOG_BIN=0");
|
||||
$master_dbh->do("DELETE FROM test.t WHERE id > 100");
|
||||
$master_dbh->do("SET SQL_LOG_BIN=1");
|
||||
PerconaTest::wait_for_table($slave_dbh, "test.t", "id=600");
|
||||
|
||||
# Now there are 100 rows on the master and 600 on the slave.
|
||||
$output = output(
|
||||
|
||||
@@ -41,8 +41,6 @@ my $output;
|
||||
|
||||
$sb->create_dbs($master_dbh, [qw(test)]);
|
||||
$sb->load_file('master', 't/pt-table-checksum/samples/issue_94.sql');
|
||||
|
||||
PerconaTest::wait_for_table($slave_dbh, 'test.issue_94', 'a=11');
|
||||
$slave_dbh->do("update test.issue_94 set c=''");
|
||||
|
||||
$output = output(
|
||||
|
||||
Reference in New Issue
Block a user