Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve get_worker_id race by waiting for worker.json to get written #133

Merged
merged 1 commit into from
Aug 2, 2024

Commits on Aug 2, 2024

  1. fix: resolve get_worker_id race by waiting for worker.json to get wri…

    …tten
    
    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 <53624638+ddneilson@users.noreply.github.com>
    ddneilson committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5b71c8f View commit details
    Browse the repository at this point in the history