Fix bug in test found by manual log inspection (#46309)

This commit is contained in:
Allen Porter 2021-02-09 21:59:49 -08:00 committed by GitHub
parent 5fcb948e28
commit 00aebec90d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ class WorkerSync:
# Block the worker thread until the test has a chance to verify
# the segments under test.
logging.debug("blocking worker")
if self._event:
self._event.wait()
# Forward to actual implementation