Commit 096550b1 authored by Kirill Smelkov's avatar Kirill Smelkov

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

We now don't buffer anything inside runTestSuite, but the generating
process itself could buffer e.g. stdout. Tell it not to do so.
parent fa78290a
......@@ -62,6 +62,11 @@ def main():
# a test run for given name and revision has already been completed
return
# make sure we get output from subprocesses without delay.
# go does not buffer stdout/stderr by default, but python does for stdout.
# tell python not to buffer anything.
os.environ['PYTHONUNBUFFERED'] = 'y'
# run the tests
devnull = open(os.devnull)
while 1:
......
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