Extend wait time for test to pass

This commit is contained in:
NIC619 2019-12-03 18:03:45 +08:00
parent b405fd76e9
commit 60bd4694a4
No known key found for this signature in database
GPG Key ID: 570C35F5C2D51B17

View File

@ -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()