mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
4d74505087
The wait-for-it script used during tests would setup a timer that would send SIGUSR2 to the parent process after the timer ends. Since node was ignoring additional signals, the timer ending would have no effect after the node process had replaced the start script. However when node has pid != 1, SIGUSR2 default behavior is to terminate the process, meaning the tests would fail after 30 seconds. The script is now updated so the timer is killed once the services are ready for the tests. |
||
---|---|---|
.. | ||
dbus | ||
chai.ts | ||
db-helper.ts | ||
docker-helper.ts | ||
errors.ts | ||
legacy-mocha-hooks.ts | ||
mocha-hooks.ts | ||
mocked-balena-api.ts | ||
mocked-device-api.ts | ||
mocked-dockerode.ts | ||
mocked-iptables.ts | ||
mockerode.ts | ||
prepare.ts | ||
state-helper.ts | ||
wait-for-it.sh |