From 6f6a984cde9b30c74c99b457adcda8c5ac50851f Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 19 Dec 2012 13:53:13 -0300 Subject: [PATCH] t/pt-heartbeat/bugs.t: Wait for test.heartbeat in slave1 before testing --- t/pt-heartbeat/bugs.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/pt-heartbeat/bugs.t b/t/pt-heartbeat/bugs.t index 9713cec4..d50ef976 100644 --- a/t/pt-heartbeat/bugs.t +++ b/t/pt-heartbeat/bugs.t @@ -84,6 +84,8 @@ sub stop_all_instances { start_update_instance( $master_port ); +PerconaTest::wait_for_table($slave1_dbh, 'test.heartbeat', 'server_id=12345'); + my $slave1_dsn = $sb->dsn_for('slave1'); # Using full_output here to work around a Perl bug: Only the first explicit # tzset works.