diff options
| -rw-r--r-- | meta/lib/oeqa/core/utils/concurrencytest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py index 5e20b0e126..d10f8f7f04 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py | |||
| @@ -264,7 +264,7 @@ def fork_for_tests(concurrency_num, suite): | |||
| 264 | ourpid = os.getpid() | 264 | ourpid = os.getpid() |
| 265 | try: | 265 | try: |
| 266 | newbuilddir = None | 266 | newbuilddir = None |
| 267 | stream = os.fdopen(c2pwrite, 'wb', 1) | 267 | stream = os.fdopen(c2pwrite, 'wb') |
| 268 | os.close(c2pread) | 268 | os.close(c2pread) |
| 269 | 269 | ||
| 270 | (builddir, newbuilddir) = suite.setupfunc("-st-" + str(ourpid), selftestdir, process_suite) | 270 | (builddir, newbuilddir) = suite.setupfunc("-st-" + str(ourpid), selftestdir, process_suite) |
| @@ -309,7 +309,7 @@ def fork_for_tests(concurrency_num, suite): | |||
| 309 | os._exit(0) | 309 | os._exit(0) |
| 310 | else: | 310 | else: |
| 311 | os.close(c2pwrite) | 311 | os.close(c2pwrite) |
| 312 | stream = os.fdopen(c2pread, 'rb', 1) | 312 | stream = os.fdopen(c2pread, 'rb') |
| 313 | # Collect stdout/stderr into an io buffer | 313 | # Collect stdout/stderr into an io buffer |
| 314 | output = io.BytesIO() | 314 | output = io.BytesIO() |
| 315 | testserver = ProtocolTestCase(stream, passthrough=output) | 315 | testserver = ProtocolTestCase(stream, passthrough=output) |
