balena-os / leviathan

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

client: check that worker is not busy while reserving #1119

Open rcooke-warwick opened 5 months ago

rcooke-warwick commented 5 months ago

There have been several instances of the same worker being used by multiple clients, leading to failed tests. This tries to fix that by reducing the time between finding a worker and reserving it, and a second safeguard is checking the response from the worker while the client is trying to reserve it

Change-type: patch