Fix cfbot failure caused by commit 228c370868.
authorAmit Kapila <akapila@postgresql.org>
Thu, 24 Jul 2025 03:51:55 +0000 (03:51 +0000)
committerAmit Kapila <akapila@postgresql.org>
Thu, 24 Jul 2025 03:51:55 +0000 (03:51 +0000)
commitdf335618ed87eecdef44a95e453e345a55a14ad8
tree6d9daca72f248d8d7027577519d714d3681caaa7
parent086b9a33aafeeeaa0af0c806410ea6228f2f63f4
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: http://postgr.es/m/aIGLgfRJIBwExoPj@paquier.xyz
src/test/subscription/t/035_conflicts.pl