summaryrefslogtreecommitdiffstats
path: root/meta/site/native
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-06-23 12:31:03 +0100
commitfde0637e1cabfb2d39eff1a57f3d4c7c55061fc3 (patch)
tree70bc2962c2eb3b15ac0c05dab09f34b900ef8c5b /meta/site/native
parentd95dbd76f247d062133d740e09e5e7641ded669e (diff)
downloadpoky-fde0637e1cabfb2d39eff1a57f3d4c7c55061fc3.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: 9b251dcaffe52d32c1faf41ab57ab414fbc29722) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/native')
0 files changed, 0 insertions, 0 deletions