You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
Unit tests may specify separate subprocess (i.e. server/service), setup, and shutdown scripts to be executed while/before/after test cases are executed. utf.py is responsible for the sequencing, i.e.
Spawn ut_MODULE_subprocess.py and allow it 30 seconds to start
Run ut_MODULE_setup.py
Run the other ut_MODULE_* tests in alphabetical order
Run ut_MODULE_shutdown.py
Signal to ut_MODULE_subprocess.py to stop now
The first point is crucial, as no precautions are taken to verify that the subprocess has really started by the time the wait period elapsed. This bites us, e.g., in the nodemanager unit tests on OpenWrt.
utf.py should thus use active signalling for starting the subprocess, too.