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>
1 file changed