Fix cfbot failure caused by commit 228c370868.

Amit Kapila <akapila@postgresql.org>

Commit: df335618ed87eecdef44a95e453e345a55a14ad8
Author: Amit Kapila <akapila@postgresql.org>
Date: 2025-07-24T03:51:55Z
Fix cfbot failure caused by commit 228c370868.

Ensure the test waits for the apply worker to exit after disabling the
subscription. This is necessary to safely enable the retain_dead_tuples
option. Also added a similar wait in another part of the test to prevent
unintended apply worker activity that could lead to test failures
post-subscription disable.

Reported by Michael Paquier as per cfbot.

Author: Zhijie Hou <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/aIGLgfRJIBwExoPj@paquier.xyz

Files

PathChange+/−
src/test/subscription/t/035_conflicts.pl modified +10 −0

Discussion