mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-11 09:53:12 +00:00
Add wait to stdout/stderr stream future
This commit is contained in:
parent
daa23f4ffb
commit
6bef231297
@ -429,8 +429,8 @@ proc teardownTest(
|
||||
|
||||
try:
|
||||
trace "Reading stdout and stderr streams"
|
||||
output.stdOut = string.fromBytes(await noCancel stdOutStream)
|
||||
output.stdErr = string.fromBytes(await noCancel stdErrStream)
|
||||
output.stdOut = string.fromBytes(await noCancel stdOutStream.wait(1.seconds))
|
||||
output.stdErr = string.fromBytes(await noCancel stdErrStream.wait(1.seconds))
|
||||
test.output = success output
|
||||
|
||||
trace "Writing stdout and/or stderr streams to file",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user