Add wait to stdout/stderr stream future

This commit is contained in:
Eric 2025-03-17 14:42:55 +11:00
parent 8eb5013b5a
commit 828fcf6edb
No known key found for this signature in database

View File

@ -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",