Changeset: 41fdf604eba6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/41fdf604eba6
Modified Files:
        testing/Mtest.py.in
Branch: Jul2021
Log Message:

Use buffered pipe in case mserver produces lots of output.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -1633,6 +1633,8 @@ def GetBitsAndModsAndThreads(env) :
     setpgrp = True
     proc = process.Popen(cmd, stdin=process.PIPE, stdout=process.PIPE,
                          stderr=process.PIPE, text=True)
+    proc.stdout = process._BufferedPipe(proc.stdout)
+    proc.stderr = process._BufferedPipe(proc.stderr)
     proc.killed = False
     proc.onechild = True
     t = Timer(float(par['TIMEOUT']), killProc, args = [proc, proc.stderr, cmd])
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to