summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-devtools/python/python3-async-test_0.6.2.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-22 22:52:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-02 16:12:36 +0100
commit4d1b2cecef15a88e1b861c37c4d8bacf59805c47 (patch)
tree972a22d71be1bbbf8bb1ab756ca646b7f76c4d74 /meta-selftest/recipes-devtools/python/python3-async-test_0.6.2.bb
parent7267bf59fcfc137e478ab1f892cf545ef1d99ce5 (diff)
downloadpoky-4d1b2cecef15a88e1b861c37c4d8bacf59805c47.tar.gz
oeqa/utils/command: Improve stdin handling in runCmd
Occasionally we've been seeing leftover threads from runCmd. The stdin test assumes we clean up all threads but the code assumes that the daemonic thread can be left behind. The issue can be reproduced by adding a time.sleep(10) to the end of writeThread() which will mean it stays resident past the end of the command. We may as well add it to the threads list and clean it up properly, hopefully removing the race in the tests from the autobuilder. [YOCTO #13055] (From OE-Core rev: 9034ac93518b74dae5e05776c0bce085171cdd1f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9b251dcaffe52d32c1faf41ab57ab414fbc29722) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-devtools/python/python3-async-test_0.6.2.bb')
0 files changed, 0 insertions, 0 deletions