Under has_wal_read_bug, skip recovery/t/032_relfilenode_reuse.pl.
authorNoah Misch <[email protected]>
Sat, 29 Oct 2022 17:42:16 +0000 (10:42 -0700)
committerNoah Misch <[email protected]>
Sat, 29 Oct 2022 17:42:16 +0000 (10:42 -0700)
Per buildfarm member kittiwake.  Back-patch to v15, where this test
first appeared.

Discussion: https://postgr.es/m/20220116210241[email protected]

src/test/recovery/t/032_relfilenode_reuse.pl

index 92ec510037a19dec7b9362432d1d30dba16bc6ba..499ec34a7aa8095bff044953398389e511755090 100644 (file)
@@ -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);