mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +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:
@@ -31,15 +31,10 @@ else {
|
||||
plan tests => 3;
|
||||
}
|
||||
|
||||
$sb->wipe_clean($master_dbh);
|
||||
$sb->wipe_clean($slave_dbh);
|
||||
$sb->create_dbs($master_dbh, [qw(test)]);
|
||||
|
||||
# #############################################################################
|
||||
# Issue 560: mk-table-sync generates impossible WHERE
|
||||
# #############################################################################
|
||||
diag(`/tmp/12345/use < $trunk/t/pt-table-sync/samples/issue_560.sql`);
|
||||
PerconaTest::wait_for_table($slave_dbh, "issue_560.buddy_list", "player_id=353");
|
||||
$sb->load_file("master", "t/pt-table-sync/samples/issue_560.sql");
|
||||
|
||||
# Make slave differ.
|
||||
$slave_dbh->do('UPDATE issue_560.buddy_list SET buddy_id=0 WHERE player_id IN (333,334)');
|
||||
|
||||
Reference in New Issue
Block a user