mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
If wait_for_catchup fails under has_wal_read_bug, skip balance of test.
Test files should now ignore has_wal_read_bug() so long as wait_for_catchup() is their only known way of reaching the bug. That's at least five files today, a number expected to grow over time. This commit removes skip logic from three. By doing so, systems having the bug regain the ability to catch other kinds of defects via those three tests. The other two, 002_databases.pl and 031_recovery_conflict.pl, have been unprotected. Back-patch to v15, where done_testing() first became our standard. Discussion: https://postgr.es/m/20221030031639.GA3082137@rfd.leadboat.com
This commit is contained in:
@ -8,13 +8,6 @@ use PostgreSQL::Test::Cluster;
|
||||
use PostgreSQL::Test::Utils;
|
||||
use Test::More;
|
||||
|
||||
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;
|
||||
my $node_standby;
|
||||
|
||||
|
Reference in New Issue
Block a user