summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2016-09-26 09:41:07 +0000
committerChristoph Berg2016-09-26 09:41:07 +0000
commit1b5e40ad48cbff705e822521b6a0c591521fcd9d (patch)
treeb220d5a0f83e7061fb43f250890d87657afd4972
parente963338ac493149a3b7bd222b4ea97b0876f5e92 (diff)
t/02_txn_time.t: Allow some time slack
-rw-r--r--t/02_txn_time.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02_txn_time.t b/t/02_txn_time.t
index d743fe1f9..cd1962334 100644
--- a/t/02_txn_time.t
+++ b/t/02_txn_time.t
@@ -73,7 +73,7 @@ $t = qq{$S identifies a one-second running txn};
my $idle_dbh = $cp->test_database_handle();
$idle_dbh->do('SELECT 1');
sleep(1);
-like ($cp->run(q{-w 0}), qr{longest txn: 1s}, $t);
+like ($cp->run(q{-w 0}), qr{longest txn: [12]s}, $t);
$t .= ' (MRTG)';
my $query_patten = ($ver >= 90200) ? "SELECT 1" : "<IDLE> in transaction";