Remove duplicated wait for subscription sync from 007_ddl.pl.
authorAmit Kapila <akapila@postgresql.org>
Tue, 2 Aug 2022 04:00:46 +0000 (09:30 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 2 Aug 2022 04:00:46 +0000 (09:30 +0530)
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

index cdd6b119ffb7828005c6b1db19752f531b44ba23..01df54229c4b1f446b80fceea1a35932e94d5110 100644 (file)
@@ -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"