From da13c4cd68a3a282e22d6bd23a7e9c4169d178c8 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Wed, 24 Jun 2020 17:12:46 -0700 Subject: [PATCH] tmp: work around occasional hangs in subscription/t/013_partition.pl I think this may be an issue in the test, but I'm not yet actually sure. Author: Reviewed-By: Discussion: https://postgr.es/m/ Backpatch: --- src/test/subscription/t/013_partition.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/subscription/t/013_partition.pl b/src/test/subscription/t/013_partition.pl index a04c03a7e2..f3683a4257 100644 --- a/src/test/subscription/t/013_partition.pl +++ b/src/test/subscription/t/013_partition.pl @@ -485,12 +485,12 @@ $result = $node_subscriber2->safe_psql('postgres', "SELECT a FROM tab3"); is($result, qq(), 'delete from tab3 replicated'); # truncate +# these will NOT be replicated +$node_publisher->safe_psql('postgres', "TRUNCATE tab1_2, tab2_1, tab3_1"); $node_publisher->safe_psql('postgres', "INSERT INTO tab1 VALUES (1), (2), (5)"); $node_publisher->safe_psql('postgres', "INSERT INTO tab2 VALUES (1), (2), (5)"); -# these will NOT be replicated -$node_publisher->safe_psql('postgres', "TRUNCATE tab1_2, tab2_1, tab3_1"); $node_publisher->wait_for_catchup('sub_viaroot'); $node_publisher->wait_for_catchup('sub2'); -- 2.39.5