Don't use pgbench -j in tests
authorAlvaro Herrera <[email protected]>
Mon, 4 Dec 2023 13:00:51 +0000 (14:00 +0100)
committerAlvaro Herrera <[email protected]>
Mon, 4 Dec 2023 13:00:51 +0000 (14:00 +0100)
It draws an unnecessary error in builds compiled without thread support.

Added by commit 038f586d5f1d, which was backpatched to 14; though in
branch master we no longer support such builds, there's no reason to
have this there, so remove it in all branches since 14.

Reported-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/[email protected]

src/bin/pgbench/t/001_pgbench_with_server.pl

index 96be529d6bbea703f2ecdc0a42feae383bf6fa85..85e6520007e1562b320730527446efeb8cb49d31 100644 (file)
@@ -878,7 +878,7 @@ select 1 \gset f
 
 # Working \startpipeline in prepared query mode with serializable
 $node->pgbench(
-   '-c4 -j2 -t 10 -n -M prepared',
+   '-c4 -t 10 -n -M prepared',
    0,
    [
        qr{type: .*/001_pgbench_pipeline_serializable},