Fix daemon test close api.
This commit is contained in:
parent
f49d67bc0d
commit
152a93e25b
|
@ -31,6 +31,8 @@ proc connectStreamTest(): Future[bool] {.async.} =
|
||||||
doAssert(sent == len(test) + 2)
|
doAssert(sent == len(test) + 2)
|
||||||
var check = await wait(testFuture, 10000)
|
var check = await wait(testFuture, 10000)
|
||||||
doAssert(check == test)
|
doAssert(check == test)
|
||||||
|
await api1.close()
|
||||||
|
await api2.close()
|
||||||
result = true
|
result = true
|
||||||
|
|
||||||
when isMainModule:
|
when isMainModule:
|
||||||
|
|
Loading…
Reference in New Issue