Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cfb4e20

Browse filesBrowse files
author
Amit Kapila
committed
Fix one of the tests introduced in commit 52e4f0c.
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
1 parent bd74c40 commit cfb4e20
Copy full SHA for cfb4e20

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎src/test/subscription/t/028_row_filter.pl

Copy file name to clipboardExpand all lines: src/test/subscription/t/028_row_filter.pl
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@
677677
$node_publisher->safe_psql('postgres',
678678
"UPDATE tab_rowfilter_toast SET b = '1'");
679679

680+
$node_publisher->wait_for_catchup($appname);
681+
680682
# Check expected replicated rows for tab_rowfilter_toast
681683
# tab_rowfilter_toast filter: (a = repeat('1234567890', 200) AND b < '10')
682684
# UPDATE old (repeat('1234567890', 200) ,'1234567890') NO

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.