diff --git a/src/test/subscription/t/004_sync.pl b/src/test/subscription/t/004_sync.pl index aa7714c533b..bf4d59efbad 100644 --- a/src/test/subscription/t/004_sync.pl +++ b/src/test/subscription/t/004_sync.pl @@ -156,7 +156,7 @@ $node_subscriber->safe_psql('postgres', "CREATE SUBSCRIPTION tap_sub CONNECTION '$publisher_connstr' PUBLICATION tap_pub" ); -$result = $node_subscriber->poll_query_until('postgres', $started_query) +$node_subscriber->poll_query_until('postgres', $started_query) or die "Timed out while waiting for subscriber to start sync"; # DROP SUBSCRIPTION must clean up slots on the publisher side when the