Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves().

This commit is contained in:
Daniel Nichter
2012-06-07 10:25:44 -04:00
parent 4af46e81f9
commit dac0731251
29 changed files with 27 additions and 90 deletions

View File

@@ -106,7 +106,6 @@ sub get_id {
# #############################################################################
$sb->load_file('master', "t/lib/samples/compare-results.sql");
PerconaTest::wait_for_table($dbh2, "test.t3", "f > 1");
$cr = new CompareResults(
method => 'checksum',
@@ -313,7 +312,6 @@ my $tmpdir = '/tmp/mk-upgrade-res';
diag(`rm -rf $tmpdir 2>/dev/null; mkdir $tmpdir`);
$sb->load_file('master', "t/lib/samples/compare-results.sql");
PerconaTest::wait_for_table($dbh2, "test.t3", "f > 1");
$cr = new CompareResults(
method => 'rows',

View File

@@ -58,7 +58,6 @@ sub test_copy_table {
my ($tbl, $col, $expect) = @args{qw(tbl col expect)};
$sb->load_file("master", "t/lib/samples/osc/$tbl");
PerconaTest::wait_for_table($dbh, "osc.t", "id=5");
$dbh->do("USE osc");
$osc->copy(

View File

@@ -812,7 +812,6 @@ is(
# Index case-sensitivity.
# #############################################################################
$sb->load_file('master', "t/pt-table-checksum/samples/undef-arrayref-bug-995274.sql");
PerconaTest::wait_for_table($dbh, "test.GroupMembers", "id=493076");
eval {
$ni = make_nibble_iter(

View File

@@ -257,7 +257,6 @@ ok(
# https://bugs.launchpad.net/percona-toolkit/+bug/987393
# #############################################################################
$sb->load_file('master', "t/pt-table-checksum/samples/empty-table-bug-987393.sql");
PerconaTest::wait_for_table($dbh, "test.test_full", "id=1");
$ni = make_nibble_iter(
db => 'test',

View File

@@ -51,7 +51,6 @@ SKIP: {
# Bug 932442: column with 2 spaces
$sb->load_file('master', "t/pt-table-checksum/samples/2-space-col.sql");
PerconaTest::wait_for_table($dbh, "test.t");
$ddl = $tp->get_create_table($dbh, qw(test t));
like(
$ddl,