From acdcd9422c51c9685372261db014b509298160c3 Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Wed, 15 Dec 2021 18:59:58 +0300 Subject: [PATCH] Fix one flaky failure test (#5528) Removes flaky test --- .../regress/expected/failure_connection_establishment.out | 8 -------- src/test/regress/sql/failure_connection_establishment.sql | 4 ---- 2 files changed, 12 deletions(-) diff --git a/src/test/regress/expected/failure_connection_establishment.out b/src/test/regress/expected/failure_connection_establishment.out index 9a60f8302..99b9efcda 100644 --- a/src/test/regress/expected/failure_connection_establishment.out +++ b/src/test/regress/expected/failure_connection_establishment.out @@ -141,14 +141,6 @@ SELECT count(*) FROM products; 0 (1 row) --- use OFFSET 1 to prevent printing the line where source --- is the worker, and LIMIT 1 in case there were multiple connections -SELECT citus.dump_network_traffic() ORDER BY 1 LIMIT 1 OFFSET 1; - dump_network_traffic ---------------------------------------------------------------------- - (1,coordinator,"[initial message]") -(1 row) - SELECT citus.mitmproxy('conn.allow()'); mitmproxy --------------------------------------------------------------------- diff --git a/src/test/regress/sql/failure_connection_establishment.sql b/src/test/regress/sql/failure_connection_establishment.sql index a1c2c1e23..76e699132 100644 --- a/src/test/regress/sql/failure_connection_establishment.sql +++ b/src/test/regress/sql/failure_connection_establishment.sql @@ -80,10 +80,6 @@ SELECT citus.mitmproxy('conn.delay(500)'); SELECT count(*) FROM products; SELECT count(*) FROM products; --- use OFFSET 1 to prevent printing the line where source --- is the worker, and LIMIT 1 in case there were multiple connections -SELECT citus.dump_network_traffic() ORDER BY 1 LIMIT 1 OFFSET 1; - SELECT citus.mitmproxy('conn.allow()'); SET citus.shard_replication_factor TO 1; CREATE TABLE single_replicatated(key int);