From 5fd191a08e4b47b393f5a049dc9e683d1a2df16f Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Thu, 15 Dec 2022 09:16:22 -0800 Subject: [PATCH v9 3/3] set wal_retrieve_retry_interval to 1ms in tests --- src/test/perl/PostgreSQL/Test/Cluster.pm | 2 +- src/test/recovery/t/002_archiving.pl | 2 -- src/test/subscription/t/004_sync.pl | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index 7411188dc8..c6aeee07fc 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -532,7 +532,7 @@ sub init print $conf "log_line_prefix = '%m [%p] %q%a '\n"; print $conf "log_statement = all\n"; print $conf "log_replication_commands = on\n"; - print $conf "wal_retrieve_retry_interval = '500ms'\n"; + print $conf "wal_retrieve_retry_interval = '1ms'\n"; # If a setting tends to affect whether tests pass or fail, print it after # TEMP_CONFIG. Otherwise, print it before TEMP_CONFIG, thereby permitting diff --git a/src/test/recovery/t/002_archiving.pl b/src/test/recovery/t/002_archiving.pl index d69da4e5ef..8e269671b2 100644 --- a/src/test/recovery/t/002_archiving.pl +++ b/src/test/recovery/t/002_archiving.pl @@ -28,8 +28,6 @@ my $node_standby = PostgreSQL::Test::Cluster->new('standby'); # of the primary. $node_standby->init_from_backup($node_primary, $backup_name, has_restoring => 1); -$node_standby->append_conf('postgresql.conf', - "wal_retrieve_retry_interval = '100ms'"); # Set archive_cleanup_command and recovery_end_command, checking their # execution by the backend with dummy commands. diff --git a/src/test/subscription/t/004_sync.pl b/src/test/subscription/t/004_sync.pl index fd4bf7bacd..edb6fbf3a6 100644 --- a/src/test/subscription/t/004_sync.pl +++ b/src/test/subscription/t/004_sync.pl @@ -16,8 +16,6 @@ $node_publisher->start; # Create subscriber node my $node_subscriber = PostgreSQL::Test::Cluster->new('subscriber'); $node_subscriber->init(allows_streaming => 'logical'); -$node_subscriber->append_conf('postgresql.conf', - "wal_retrieve_retry_interval = 1ms"); $node_subscriber->start; # Create some preexisting content on publisher -- 2.25.1