balena-os / leviathan

A distributed hardware testing framework
https://balena-os.github.io/leviathan
Apache License 2.0
22 stars 6 forks source link

Exit worker when Client fails #1116

Open vipulgupta2048 opened 5 months ago

vipulgupta2048 commented 5 months ago

If the client fails before properly starting the tests, the teardown isn't called on the worker side, so it stays locked for a long time. We need to explicitly call the worker teardown on client failure in scenario when for example the config.js validation fails.