mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
t/pt-heartbeat/bugs.t: Wait for test.heartbeat in slave1 before testing
This commit is contained in:
@@ -84,6 +84,8 @@ sub stop_all_instances {
|
|||||||
|
|
||||||
start_update_instance( $master_port );
|
start_update_instance( $master_port );
|
||||||
|
|
||||||
|
PerconaTest::wait_for_table($slave1_dbh, 'test.heartbeat', 'server_id=12345');
|
||||||
|
|
||||||
my $slave1_dsn = $sb->dsn_for('slave1');
|
my $slave1_dsn = $sb->dsn_for('slave1');
|
||||||
# Using full_output here to work around a Perl bug: Only the first explicit
|
# Using full_output here to work around a Perl bug: Only the first explicit
|
||||||
# tzset works.
|
# tzset works.
|
||||||
|
Reference in New Issue
Block a user