pgsql: Fix the tests added by commit ac4645c015. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Fix the tests added by commit ac4645c015.
Date
Msg-id E1lTi3F-0004yd-9J@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/266b5673b4b6bed2e9ebfe73ca967f44d6dc0e6c

Modified Files
--------------
src/test/subscription/t/020_messages.pl | 8 ++++++++
1 file changed, 8 insertions(+)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: pgsql: Allow pgoutput to send logical decoding messages.
Next
From: Amit Kapila
Date:
Subject: Re: pgsql: Allow pgoutput to send logical decoding messages.