mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-07 16:13:10 +00:00
reduce waiting time from 5 seconds to 500 millis in msg size test
This commit is contained in:
parent
df29ac760e
commit
8c96de5397
@ -217,7 +217,7 @@ suite "Mplex":
|
|||||||
bigseq.add(uint8(rand(uint('A')..uint('z'))))
|
bigseq.add(uint8(rand(uint('A')..uint('z'))))
|
||||||
await stream.writeLp(bigseq)
|
await stream.writeLp(bigseq)
|
||||||
try:
|
try:
|
||||||
await listenJob.wait(seconds(5))
|
await listenJob.wait(millis(500))
|
||||||
except AsyncTimeoutError:
|
except AsyncTimeoutError:
|
||||||
# we want to time out here!
|
# we want to time out here!
|
||||||
discard
|
discard
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user