From: Amit Kapila Date: Tue, 2 Aug 2022 04:00:46 +0000 (+0530) Subject: Remove duplicated wait for subscription sync from 007_ddl.pl. X-Git-Tag: REL_16_BETA1~2090 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bf91ec0f3b4d2abd39de44c2bcdd11e290af9f4;p=thirdparty%2Fpostgresql.git 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 --- 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"