From: Andres Freund Date: Thu, 25 Jun 2020 00:12:46 +0000 (-0700) Subject: tmp: work around occasional hangs in subscription/t/013_partition.pl X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=da13c4cd68a3a282e22d6bd23a7e9c4169d178c8;p=users%2Fandresfreund%2Fpostgres.git 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: --- 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');