Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e3ec9dc

Browse files
committed
Add missing wait_for_catchup() to pg_visibility tap test
e2ed7e3 introduced check of pg_visibility on standby. This commit adds missing wait_for_catchup() to synchronize standby before querying it.
1 parent e2ed7e3 commit e3ec9dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/pg_visibility/t/001_concurrent_transaction.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
ok($result eq "", "pg_check_visible() detects no errors");
4848

4949
# Run pg_check_visible() on standby
50+
$node->wait_for_catchup($standby);
5051
$result = $standby->safe_psql("postgres",
5152
"SELECT * FROM pg_check_visible('vacuum_test');");
5253

0 commit comments

Comments
 (0)