Make pt-archiver tests more reliable on weird, slow boxes like my vbox.

This commit is contained in:
Daniel Nichter
2011-07-14 09:57:16 -06:00
parent c78beba647
commit db76b3ca30
9 changed files with 38 additions and 106 deletions

View File

@@ -36,6 +36,8 @@ 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');
$dbh->do('set names "utf8"');
my $original_rows = $dbh->selectall_arrayref('select * from issue_1225.t where i in (1, 2)');
is_deeply(