pgsql: Fix the tests added by commit ac4645c015.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix the tests added by commit ac4645c015.
Date: 2021-04-06 09:31:13
Message-ID: E1lTi3F-0004yd-9J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-04-06 09:34:55 Re: pgsql: Allow pgoutput to send logical decoding messages.
Previous Message Amit Kapila 2021-04-06 08:42:52 Re: pgsql: Allow pgoutput to send logical decoding messages.