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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy