Skip to content

Conversation

IanButterworth
Copy link
Member

Otherwise this test takes 1 minute doing nothing before the worker times out and satisfies the error throw.
i.e. locally

julia> run(`$(Base.julia_cmd()) --worker=true`)
julia_worker:9616#192.168.12.246
Master process (id 1) could not connect within 60.0 seconds.
exiting.
julia> withenv("JULIA_WORKER_TIMEOUT" => "5") do
       run(`$(Base.julia_cmd()) --worker=true`)
       end
julia_worker:9708#192.168.12.246
Master process (id 1) could not connect within 5.0 seconds.
exiting.

@vtjnash
Copy link
Member

vtjnash commented Jan 27, 2025

It may need to slightly longer to be an accurate test, since some CI is slow and there is a sleep(2) in the worker code before they finish connecting that adds even delay to a normally functioning launch

@IanButterworth IanButterworth added the merge me PR is reviewed. Merge when all tests are passing label Jan 27, 2025
@IanButterworth IanButterworth merged commit 779b750 into JuliaLang:master Jan 28, 2025
8 checks passed
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants