mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix bug in test found by manual log inspection (#46309)
This commit is contained in:
parent
5fcb948e28
commit
00aebec90d
@ -40,7 +40,8 @@ class WorkerSync:
|
||||
# Block the worker thread until the test has a chance to verify
|
||||
# the segments under test.
|
||||
logging.debug("blocking worker")
|
||||
self._event.wait()
|
||||
if self._event:
|
||||
self._event.wait()
|
||||
|
||||
# Forward to actual implementation
|
||||
self._original(stream)
|
||||
|
Loading…
x
Reference in New Issue
Block a user