Commit 63956f43 authored by Kirill Smelkov's avatar Kirill Smelkov

fixup! X neotest/runTestSuite: Tee tested process stdout,stderr to testnode logs incrementally

stderr is unbuffered, but by default stdout is buffered, so if stdout in
turn is redirected to be read by some other logging program, due to
buffering output could be delayed.

Don't delay the output.
parent b9819d0e
...@@ -125,6 +125,7 @@ def tee(fin, fout, buf): ...@@ -125,6 +125,7 @@ def tee(fin, fout, buf):
return # EOF return # EOF
fout.write(data) fout.write(data)
fout.flush()
buf.append(data) buf.append(data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment