diff options
Diffstat (limited to 'src/bin/pg_upgrade/t/003_logical_slots.pl')
-rw-r--r-- | src/bin/pg_upgrade/t/003_logical_slots.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/pg_upgrade/t/003_logical_slots.pl b/src/bin/pg_upgrade/t/003_logical_slots.pl index 83d71c3084b..f9394f97b1f 100644 --- a/src/bin/pg_upgrade/t/003_logical_slots.pl +++ b/src/bin/pg_upgrade/t/003_logical_slots.pl @@ -31,7 +31,8 @@ $newpub->init(allows_streaming => 'logical'); # completely till it is open. The probability of seeing this behavior is # higher in this test because we use wal_level as logical via # allows_streaming => 'logical' which in turn set shared_buffers as 1MB. -$newpub->append_conf('postgresql.conf', q{ +$newpub->append_conf( + 'postgresql.conf', q{ bgwriter_lru_maxpages = 0 checkpoint_timeout = 1h }); @@ -81,7 +82,7 @@ command_checks_all( [qr//], 'run of pg_upgrade where the new cluster has insufficient max_replication_slots' ); -ok( -d $newpub->data_dir . "/pg_upgrade_output.d", +ok(-d $newpub->data_dir . "/pg_upgrade_output.d", "pg_upgrade_output.d/ not removed after pg_upgrade failure"); # Set 'max_replication_slots' to match the number of slots (2) present on the |