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

@@ -61,7 +61,6 @@ throws_ok(
);
$sb->load_file('master', "$sample/basic_no_fks.sql");
PerconaTest::wait_for_table($slave_dbh, "pt_osc.t", "id=20");
$master_dbh->do("USE pt_osc");
$slave_dbh->do("USE pt_osc");
@@ -90,7 +89,6 @@ throws_ok(
# #############################################################################
$sb->load_file('master', "$sample/basic_no_fks.sql");
PerconaTest::wait_for_table($slave_dbh, "pt_osc.t", "id=20");
$master_dbh->do("USE pt_osc");
$slave_dbh->do("USE pt_osc");