From 60bd4694a4cdb12822ca1e2769635b2adea81449 Mon Sep 17 00:00:00 2001 From: NIC619 Date: Tue, 3 Dec 2019 18:03:45 +0800 Subject: [PATCH] Extend wait time for test to pass --- tests/pubsub/test_gossipsub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pubsub/test_gossipsub.py b/tests/pubsub/test_gossipsub.py index a8a89a6..d05f024 100644 --- a/tests/pubsub/test_gossipsub.py +++ b/tests/pubsub/test_gossipsub.py @@ -197,7 +197,7 @@ async def test_dense(num_hosts, pubsubs_gsub, hosts): # publish from the randomly chosen host await pubsubs_gsub[origin_idx].publish("foobar", msg_content) - await asyncio.sleep(0.5) + await asyncio.sleep(1) # Assert that all blocking queues receive the message for queue in queues: msg = await queue.get()