From 046c4c7cc0c62c5a69b89875a258d76fb6e30734 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Sat, 20 Oct 2012 20:18:55 -0600 Subject: [PATCH] Make CompareResults.t stable--yet another case of not waiting for replication. --- t/lib/CompareResults.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/lib/CompareResults.t b/t/lib/CompareResults.t index 5da8d7a4..db03f433 100644 --- a/t/lib/CompareResults.t +++ b/t/lib/CompareResults.t @@ -642,6 +642,7 @@ $dbh1->do('update test.t3 set f=0 where 1'); $dbh1->do('SET SQL_LOG_BIN=0'); $dbh1->do('insert into test.t3 values (2.0),(3.0)'); $dbh1->do('SET SQL_LOG_BIN=1'); +$sb->wait_for_slaves(); my $left_n_rows = $dbh1->selectcol_arrayref('select count(*) from test.t3')->[0]; my $right_n_rows = $dbh2->selectcol_arrayref('select count(*) from test.t3')->[0];