From c3433e767f0baf570ba6c0631411545bbbd25df6 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Thu, 13 Dec 2012 09:20:48 -0700 Subject: [PATCH] Remove pt-hb sentinel file and docu test case. --- t/pt-heartbeat/bugs.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/pt-heartbeat/bugs.t b/t/pt-heartbeat/bugs.t index 46dd5d2d..9713cec4 100644 --- a/t/pt-heartbeat/bugs.t +++ b/t/pt-heartbeat/bugs.t @@ -73,6 +73,8 @@ sub stop_all_instances { waitpid($_, 0) for @pids; PerconaTest::wait_until(sub{ !-e $_ }) for @pidfiles; + + unlink '/tmp/pt-heartbeat-sentinel'; } # ############################################################################ @@ -92,6 +94,9 @@ my $slave1_dsn = $sb->dsn_for('slave1'); qw(--check --master-server-id), $master_port) }); +# If the servers use UTC then the lag should be 0.00, or at least +# no greater than 9.99 for slow test boxes. When this fails, the +# lag is like 25200.00 becaues the servers are hours off. like( $output, qr/\A\d.\d{2}$/,