Fix one flaky failure test

pull/5565/head^2
Hanefi Onaldi 2021-12-21 04:21:14 +03:00 committed by Hanefi Onaldi
parent 63626d4995
commit 479b2da740
2 changed files with 4 additions and 4 deletions

View File

@ -105,10 +105,10 @@ SELECT name FROM r1 WHERE id = 2;
-- verify a connection attempt was made to the intercepted node, this would have cause the -- verify a connection attempt was made to the intercepted node, this would have cause the
-- connection to have been delayed and thus caused a timeout -- connection to have been delayed and thus caused a timeout
SELECT citus.dump_network_traffic(); SELECT * FROM citus.dump_network_traffic() WHERE conn=0;
dump_network_traffic conn | source | message
--------------------------------------------------------------------- ---------------------------------------------------------------------
(0,coordinator,"[initial message]") 0 | coordinator | [initial message]
(1 row) (1 row)
SELECT citus.mitmproxy('conn.allow()'); SELECT citus.mitmproxy('conn.allow()');

View File

@ -66,7 +66,7 @@ SELECT name FROM r1 WHERE id = 2;
-- verify a connection attempt was made to the intercepted node, this would have cause the -- verify a connection attempt was made to the intercepted node, this would have cause the
-- connection to have been delayed and thus caused a timeout -- connection to have been delayed and thus caused a timeout
SELECT citus.dump_network_traffic(); SELECT * FROM citus.dump_network_traffic() WHERE conn=0;
SELECT citus.mitmproxy('conn.allow()'); SELECT citus.mitmproxy('conn.allow()');