Stabilize streaming tests in test_decoding.
authorAmit Kapila <akapila@postgresql.org>
Wed, 20 Apr 2022 03:29:55 +0000 (08:59 +0530)
committerAmit Kapila <akapila@postgresql.org>
Wed, 20 Apr 2022 03:29:55 +0000 (08:59 +0530)
We have some streaming tests that rely on the size of changes which can
fail if there are additional changes like invalidation messages by
background activity like auto analyze. Avoid such failures by increasing
autovacuum_naptime to a reasonably high value (1d).

Author: Dilip Kumar
Backpatch-through: 14
Discussion: https://postgr.es/m/1958043.1650129119@sss.pgh.pa.us

contrib/test_decoding/logical.conf

index 07c4d3d7c8fbe7c72b27c02e5c88f57dea767d35..cc12f2542b49efdfe72f13ff4a9551af8ed11c6e 100644 (file)
@@ -1,3 +1,4 @@
 wal_level = logical
 max_replication_slots = 4
 logical_decoding_work_mem = 64kB
+autovacuum_naptime = 1d