test: rework box/on_shutdown test
The test is flaky under high load (e.g. when is run in parallel with a lot of workers). Make it less dependent on arbitrary timeouts to improve stability. Part of #4134
Loading
Please register or sign in to comment