mirror of https://github.com/python/cpython
Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written. It depends on the buffering, so we need to flush. This will hopefully really fix the buildbots getting killed due to no output on the slow bots.
This commit is contained in:
parent
0bbbb005c5
commit
dd28d1c6c2
|
@ -26,6 +26,7 @@ class CompilerTest(unittest.TestCase):
|
||||||
next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
|
next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
|
||||||
print >>sys.__stdout__, \
|
print >>sys.__stdout__, \
|
||||||
' testCompileLibrary still working, be patient...'
|
' testCompileLibrary still working, be patient...'
|
||||||
|
sys.__stdout__.flush()
|
||||||
|
|
||||||
if not basename.endswith(".py"):
|
if not basename.endswith(".py"):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue