FACT_core
FACT_core copied to clipboard
Use proper startup notification for backend
In our testing codebase we have several calls to sleep
to wait that "everything is ready".
This is not very reliable and bad practice.
My proposal is to use signals to signal readyness to the parent process.
I think that is a good idea. I already replaced some sleep()
s in the past with Event
s which are ideal for this kind of thing. See e.g. src/test/integration/scheduler/test_unpack_analyse_and_compare.py