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 4f77589b00..3ac5a6dd7c 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py | |||
| @@ -263,7 +263,7 @@ def fork_for_tests(concurrency_num, suite): | |||
| 263 | ourpid = os.getpid() | 263 | ourpid = os.getpid() |
| 264 | try: | 264 | try: |
| 265 | newbuilddir = None | 265 | newbuilddir = None |
| 266 | stream = os.fdopen(c2pwrite, 'wb', 1) | 266 | stream = os.fdopen(c2pwrite, 'wb') |
| 267 | os.close(c2pread) | 267 | os.close(c2pread) |
| 268 | 268 | ||
| 269 | (builddir, newbuilddir) = suite.setupfunc("-st-" + str(ourpid), selftestdir, process_suite) | 269 | (builddir, newbuilddir) = suite.setupfunc("-st-" + str(ourpid), selftestdir, process_suite) |
| @@ -308,7 +308,7 @@ def fork_for_tests(concurrency_num, suite): | |||
| 308 | os._exit(0) | 308 | os._exit(0) |
| 309 | else: | 309 | else: |
| 310 | os.close(c2pwrite) | 310 | os.close(c2pwrite) |
| 311 | stream = os.fdopen(c2pread, 'rb', 1) | 311 | stream = os.fdopen(c2pread, 'rb') |
| 312 | # Collect stdout/stderr into an io buffer | 312 | # Collect stdout/stderr into an io buffer |
| 313 | output = io.BytesIO() | 313 | output = io.BytesIO() |
| 314 | testserver = ProtocolTestCase(stream, passthrough=output) | 314 | testserver = ProtocolTestCase(stream, passthrough=output) |
