mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-30 01:01:51 +08:00
Make t/pt-archiver/issue_1225.t by waiting for the table.
This commit is contained in:
@@ -27,14 +27,12 @@ else {
|
||||
}
|
||||
|
||||
my $output;
|
||||
my $rows;
|
||||
my $cnf = "/tmp/12345/my.sandbox.cnf";
|
||||
|
||||
# #############################################################################
|
||||
# Issue 1152: mk-archiver columns option resulting in null archived table data
|
||||
# #############################################################################
|
||||
$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=3");
|
||||
|
||||
$dbh->do('set names "utf8"');
|
||||
my $original_rows = $dbh->selectall_arrayref('select * from issue_1225.t where i in (1, 2)');
|
||||
@@ -72,6 +70,7 @@ ok(
|
||||
);
|
||||
|
||||
$sb->load_file('master', 't/pt-archiver/samples/issue_1225.sql');
|
||||
PerconaTest::wait_for_table($dbh, 'issue_1225.t', "i=3");
|
||||
|
||||
$output = output(
|
||||
sub { pt_archiver::main(
|
||||
|
||||
Reference in New Issue
Block a user