diff options
author | Amit Kapila <akapila@postgresql.org> | 2022-02-24 08:54:39 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2022-02-24 08:54:39 +0530 |
commit | cfb4e209ec15d4a0c44efa98b2788be806a43a92 (patch) | |
tree | 89c5a616ed6f1d495887817a4c21d33743073f9d /src | |
parent | bd74c4037c4ee268db46e983bcc0f1e0a9f7ab72 (diff) | |
download | postgresql-cfb4e209ec15d4a0c44efa98b2788be806a43a92.tar.gz postgresql-cfb4e209ec15d4a0c44efa98b2788be806a43a92.zip |
Fix one of the tests introduced in commit 52e4f0cd47.
In the Publisher-Subscriber setup, after performing a DML operation on the
publisher, we need to wait for it to be replayed on the subscriber before
querying the same data on the subscriber. One of the tests missed the wait
step.
As per buildfarm.
Author: Peter Smith
Discussion: https://postgr.es/m/CAHut+Pv=e9Qd1TSYo8Og6x6Abfz3b9_htwinLp4ENPgV45DACQ@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/test/subscription/t/028_row_filter.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/subscription/t/028_row_filter.pl b/src/test/subscription/t/028_row_filter.pl index 88dc865829c..89bb364e9da 100644 --- a/src/test/subscription/t/028_row_filter.pl +++ b/src/test/subscription/t/028_row_filter.pl @@ -677,6 +677,8 @@ is( $result, qq(16 $node_publisher->safe_psql('postgres', "UPDATE tab_rowfilter_toast SET b = '1'"); +$node_publisher->wait_for_catchup($appname); + # Check expected replicated rows for tab_rowfilter_toast # tab_rowfilter_toast filter: (a = repeat('1234567890', 200) AND b < '10') # UPDATE old (repeat('1234567890', 200) ,'1234567890') NO |