From 9b0258d76d71d73dc2abf05d844982025594894a Mon Sep 17 00:00:00 2001 From: Andrey Borodin Date: Sun, 15 Aug 2021 11:04:35 +0000 Subject: [PATCH v14 6/6] Do CIC test time-based to ensure bug repro Not for commit. --- contrib/amcheck/t/002_cic.pl | 4 ++-- contrib/amcheck/t/003_cic_2pc.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/amcheck/t/002_cic.pl b/contrib/amcheck/t/002_cic.pl index 31ce1a9a9c..e4d1ad1461 100644 --- a/contrib/amcheck/t/002_cic.pl +++ b/contrib/amcheck/t/002_cic.pl @@ -41,11 +41,11 @@ my $pgbench_h = $node->background_pgbench('postgres', \$pgbench_in, \$pgbench_ou SELECT bt_index_check('idx',true); ) }, - '--no-vacuum --client=1 --transactions=200'); + '--no-vacuum --client=1 --time=10'); # Run pgbench. $node->pgbench( - '--no-vacuum --client=5 --transactions=200', + '--no-vacuum --client=5 --time=10', 0, [qr{actually processed}], [qr{^$}], diff --git a/contrib/amcheck/t/003_cic_2pc.pl b/contrib/amcheck/t/003_cic_2pc.pl index 101a0fea0b..9190dca06a 100644 --- a/contrib/amcheck/t/003_cic_2pc.pl +++ b/contrib/amcheck/t/003_cic_2pc.pl @@ -145,11 +145,11 @@ my $pgbench_h = $node->background_pgbench('postgres', \$pgbench_in, \$pgbench_ou SELECT bt_index_check('idx',true); ) }, - '--no-vacuum --client=1 --transactions=100'); + '--no-vacuum --client=1 --time=10'); # Run pgbench. $node->pgbench( - '--no-vacuum --client=5 --transactions=100', + '--no-vacuum --client=5 --time=10', 0, [qr{actually processed}], [qr{^$}], -- 2.24.3 (Apple Git-128)