v14-0006-Do-CIC-test-time-based-to-ensure-bug-repro.patch

application/octet-stream

Filename: v14-0006-Do-CIC-test-time-based-to-ensure-bug-repro.patch
Type: application/octet-stream
Part: 5
Message: Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v14-0006
Subject: Do CIC test time-based to ensure bug repro
File+
contrib/amcheck/t/002_cic.pl 2 2
contrib/amcheck/t/003_cic_2pc.pl 2 2
From 9b0258d76d71d73dc2abf05d844982025594894a Mon Sep 17 00:00:00 2001
From: Andrey Borodin <amborodin@acm.org>
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)