Fix the tests added by commit ac4645c015.
authorAmit Kapila <akapila@postgresql.org>
Tue, 6 Apr 2021 09:28:52 +0000 (14:58 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 6 Apr 2021 09:28:52 +0000 (14:58 +0530)
commit266b5673b4b6bed2e9ebfe73ca967f44d6dc0e6c
treeebb229011dd4739931fc30b6986d14a323936205
parent9bc9b4609a246ded5caf3f3d4c0013a002ba2323
Fix the tests added by commit ac4645c015.

In the tests, after disabling the subscription, we were not waiting for
the replication connection to drop from the publisher. So when the test
was trying to use the same slot to fetch the messages via SQL API, it
sometimes gives an error that the replication slot is active for other
PID.

Per buildfarm.
src/test/subscription/t/020_messages.pl