Fix pt-archiver tests.

This commit is contained in:
Daniel Nichter
2012-02-01 10:21:30 -07:00
parent 84929a0408
commit 4408123ea8
3 changed files with 5 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ my $file = "/tmp/mk-archiver-file.txt";
# archive to file
# #############################################################################
$sb->load_file('master', 't/pt-archiver/samples/issue_1225.sql');
PerconaTest::wait_for_table($dbh, 'issue_1225.t');
PerconaTest::wait_for_table($dbh, 'issue_1225.t', "i=2");
$dbh->do('set names "utf8"');
my $original_rows = $dbh->selectall_arrayref('select * from issue_1225.t where i in (1, 2)');