mirror of https://github.com/vacp2p/nim-libp2p.git
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'))))
|
||||
await stream.writeLp(bigseq)
|
||||
try:
|
||||
await listenJob.wait(seconds(5))
|
||||
await listenJob.wait(millis(500))
|
||||
except AsyncTimeoutError:
|
||||
# we want to time out here!
|
||||
discard
|
||||
|
|
Loading…
Reference in New Issue