mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Extend wait time for test to pass
This commit is contained in:
@ -197,7 +197,7 @@ async def test_dense(num_hosts, pubsubs_gsub, hosts):
|
|||||||
# publish from the randomly chosen host
|
# publish from the randomly chosen host
|
||||||
await pubsubs_gsub[origin_idx].publish("foobar", msg_content)
|
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
|
# Assert that all blocking queues receive the message
|
||||||
for queue in queues:
|
for queue in queues:
|
||||||
msg = await queue.get()
|
msg = await queue.get()
|
||||||
|
|||||||
Reference in New Issue
Block a user