From 4ce97586b75b737d54716ccbd41ca57de04adfe9 Mon Sep 17 00:00:00 2001 From: "Andrey V. Lepikhov" Date: Thu, 13 Apr 2023 15:31:17 +0500 Subject: [PATCH] Skip 'DROP EXTENSION' test in 001_pgbench.pl because of unstability on Windows --- t/001_pgbench.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/t/001_pgbench.pl b/t/001_pgbench.pl index cb6b76de..def7786e 100644 --- a/t/001_pgbench.pl +++ b/t/001_pgbench.pl @@ -403,8 +403,16 @@ "); $node->restart(); -$node->command_ok([ 'pgbench', '-T', +# Some specifics of core PostgreSQL pgbench code don't allow to stable pass this +# test on Windows OS. +# See https://www.postgresql.org/message-id/flat/8225e78650dd69f69c8cff37ecce9a09%40postgrespro.ru +SKIP: +{ + skip "Socket allocation issues. ", 1 + if ($windows_os); + $node->command_ok([ 'pgbench', '-T', "50", '-c', "$CLIENTS", '-j', "$THREADS" , '-f', "$bank"], 'Conflicts with an AQO dropping command.'); +} $node->stop();