From: Noah Misch Date: Sat, 29 Oct 2022 17:42:16 +0000 (-0700) Subject: Under has_wal_read_bug, skip recovery/t/032_relfilenode_reuse.pl. X-Git-Tag: REL_15_1~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3395cc1dbae5f5713373e59510425138da8cecb4;p=thirdparty%2Fpostgresql.git Under has_wal_read_bug, skip recovery/t/032_relfilenode_reuse.pl. Per buildfarm member kittiwake. Back-patch to v15, where this test first appeared. Discussion: https://postgr.es/m/20220116210241.GC756210@rfd.leadboat.com --- diff --git a/src/test/recovery/t/032_relfilenode_reuse.pl b/src/test/recovery/t/032_relfilenode_reuse.pl index 92ec510037a..499ec34a7aa 100644 --- a/src/test/recovery/t/032_relfilenode_reuse.pl +++ b/src/test/recovery/t/032_relfilenode_reuse.pl @@ -5,6 +5,13 @@ use PostgreSQL::Test::Utils; use Test::More; use File::Basename; +if (PostgreSQL::Test::Utils::has_wal_read_bug) +{ + # We'd prefer to use Test::More->builder->todo_start, but the bug causes + # this test file to die(), not merely to fail. + plan skip_all => 'filesystem bug'; +} + my $node_primary = PostgreSQL::Test::Cluster->new('primary'); $node_primary->init(allows_streaming => 1);