postgres.git / summary / log / commit / refs
commit 7bf91ec0f3b4d2abd39de44c2bcdd11e290af9f4
Author: Amit Kapila <akapila@postgresql.org>
Date: Tue Aug 02 04:00:46 2022 +0000
First released in: 16.0, 15.0
Remove duplicated wait for subscription sync from 007_ddl.pl.
An oversight in 8f2e2bbf14.
Author: Masahiko Sawada
Reviewed by: Amit Kapila
Backpatch-through: 15, where it was introduced
Discussion: https://postgr.es/m/CAD21AoC-fvAkaKHa4t1urupwL8xbAcWRePeETvshvy80f6WV1A@mail.gmail.com
src/test/subscription/t/007_ddl.pl | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/test/subscription/t/007_ddl.pl b/src/test/subscription/t/007_ddl.pl
index cdd6b119ffb..01df54229c4 100644
--- a/src/test/subscription/t/007_ddl.pl
+++ b/src/test/subscription/t/007_ddl.pl
@@ -57,10 +57,6 @@ my $synced_query =
$node_subscriber->poll_query_until('postgres', $synced_query)
or die "Timed out while waiting for subscriber to synchronize data";
-# Also wait for initial table sync to finish.
-$node_subscriber->poll_query_until('postgres', $synced_query)
- or die "Timed out while waiting for subscriber to synchronize data";
-
# Specifying non-existent publication along with add publication.
($ret, $stdout, $stderr) = $node_subscriber->psql('postgres',
"ALTER SUBSCRIPTION mysub1 ADD PUBLICATION non_existent_pub1, non_existent_pub2"
[parent: 418ec32072a6]