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

SDOF_pre_sin_testing_XPSBACKUP
Tyler Goodlet 2025-04-05 17:52:16 -04:00
parent 8d72423bb4
commit f2595c45d0
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
# the first actor-tree..
if tpt_proto == 'uds':
_PROC_SPAWN_WAIT: float = 0.6
global _PROC_SPAWN_WAIT
_PROC_SPAWN_WAIT = 0.6
time.sleep(_PROC_SPAWN_WAIT)
assert not proc.returncode