projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
e963338
)
t/02_txn_time.t: Allow some time slack
author
Christoph Berg
<
[email protected]
>
Mon, 26 Sep 2016 09:41:07 +0000
(11:41 +0200)
committer
Christoph Berg
<
[email protected]
>
Mon, 26 Sep 2016 09:41:07 +0000
(11:41 +0200)
t/02_txn_time.t
|
blob
|
blame
|
history
diff --git
a/t/02_txn_time.t
b/t/02_txn_time.t
index d743fe1f95ec150ff24d2cd7cf55d7f3c80d70fe..cd196233421b3b51afb40fdd6b06c695876aadaa 100644
(file)
--- 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:
1
s}, $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";