Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve get_worker_id race by waiting for worker.json to get wri…
…tten (#133) Problem: When starting a worker using PosixInstanceWorker it can sometimes be the case that we query for the Worker's id before the worker.json file has been written to disk. If this happens then the test will fail. Solution: Repeatedly query for the worker.json file in a delaying loop, up to a maximum of 10 queries after about a minute. Signed-off-by: Daniel Neilson <[email protected]>
- Loading branch information