Merge pull request #4380 from citusdata/marcocitus/fix-flappy

Fix flappy failure test
pull/4382/head
Marco Slot 2020-12-03 14:17:14 +01:00 committed by GitHub
commit 746b36103e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;