Fix flappy failure test

pull/4380/head
Marco Slot 2020-12-03 11:52:50 +01:00
parent 9789a7005f
commit c69ea2512a
2 changed files with 4 additions and 4 deletions

View File

@ -141,8 +141,8 @@ SELECT count(*) FROM products;
(1 row)
-- use OFFSET 1 to prevent printing the line where source
-- is the worker
SELECT citus.dump_network_traffic() ORDER BY 1 OFFSET 1;
-- 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]")

View File

@ -81,8 +81,8 @@ SELECT count(*) FROM products;
SELECT count(*) FROM products;
-- use OFFSET 1 to prevent printing the line where source
-- is the worker
SELECT citus.dump_network_traffic() ORDER BY 1 OFFSET 1;
-- 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;