pgsql: Fix intermetent test failure in 028_row_filter.pl.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix intermetent test failure in 028_row_filter.pl.
Date: 2022-06-24 03:53:33
Message-ID: E1o4aNx-001X3u-3m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix intermetent test failure in 028_row_filter.pl.

The test was not waiting for the subscriber's data synchronization to
happen after refreshing the publication on the subscriber side. This leads
subscriber's apply worker to skip applying the changes on the
corresponding relation which results in a test failure.

Reported-by: Hou Zhijie, as per buildfarm
Author: Hou Zhijie
Reviewed-by: Masahiko Sawada, Amit Kapila
Discussion: https://postgr.es/m/OS0PR01MB5716A69496A8E2F2E155DB8D94B59@OS0PR01MB5716.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f50918a6fb02207d151e7cb4aae4c36de9d827c

Modified Files
--------------
src/test/subscription/t/028_row_filter.pl | 5 +++++
1 file changed, 5 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-06-24 11:10:49 pgsql: Remove unportable test
Previous Message Amit Kapila 2022-06-24 03:09:50 pgsql: Doc: clarify that tablesync ignores publish operation.