1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
commit 81e53fcdce88ddb1027872c6271edc5b8ab72fe8
Author: Christoph Berg <myon@debian.org>
Date: Mon Dec 6 14:37:36 2021 +0100
t/02_txn_time.t: Allow yet more time for longest transaction time
This keeps failing on the apt.postgresql.org ppc64el buildd.
diff --git a/t/02_txn_time.t b/t/02_txn_time.t
index 78af814..cbd2af4 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: [12]s}, $t);
+like ($cp->run(q{-w 0}), qr{longest txn: [1-9]s}, $t);
$t .= ' (MRTG)';
my $query_patten = ($ver >= 90200) ? 'SELECT 1' : '<IDLE> in transaction';
|