Woops, ensure we use `global` before setting `daemon()` fixture spawn delay..

Tyler Goodlet 2025-04-05 17:52:16 -04:00
parent 0a1ac80fee
commit 79e5cb6809
1 changed files with 3 additions and 1 deletions

View File

@ -296,7 +296,9 @@ def daemon(
# so it's often required that we delay a bit more starting # so it's often required that we delay a bit more starting
# the first actor-tree.. # the first actor-tree..
if tpt_proto == 'uds': if tpt_proto == 'uds':
_PROC_SPAWN_WAIT: float = 0.6 global _PROC_SPAWN_WAIT
_PROC_SPAWN_WAIT = 0.6
time.sleep(_PROC_SPAWN_WAIT) time.sleep(_PROC_SPAWN_WAIT)
assert not proc.returncode assert not proc.returncode