t/pt-heartbeat/bugs.t: Wait for test.heartbeat in slave1 before testing

This commit is contained in:
Brian Fraser
2012-12-19 13:53:13 -03:00
parent 3ebf56db1f
commit 6f6a984cde

View File

@@ -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.