commit | 37849a2dc5e14ae4a58bdc5699b77466db1b0b0a | [log] [tgz] |
---|---|---|
author | Markus Duft <markus.duft@ssi-schaefer.com> | Tue Jul 04 08:48:36 2017 +0200 |
committer | Markus Duft <markus.duft@ssi-schaefer.com> | Tue Jul 04 08:48:36 2017 +0200 |
tree | 4ab9d0634b0c52608efc0dfae95a028906037df7 | |
parent | 19f71fda3568e05b39ec569758d21f02c1e6ab3c [diff] |
Bug 511607: Fix race condition in LaunchGroupTests LaunchGroup's .launch blocks until the awaited output is written. There is a chance that the thread is unable to set the 'finished' boolean to true before the test thread checks it. This can easily be reproduced with a breakpoint at 'finished.set' in the second thread. Change-Id: Iee056180a25e8078a6479bfef09de0359c78d298 Signed-off-by: Markus Duft <markus.duft@ssi-schaefer.com>