Skip to content

Commit

Permalink
Use faster timeout on cmdlineargs test that relies on timeout (#57164)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Jan 28, 2025
1 parent c19a6bb commit 779b750
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,10 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no`

# --worker takes default / custom as argument (default/custom arguments
# tested in test/parallel.jl)
@test errors_not_signals(`$exename --worker=true`)
# shorten the worker timeout as this test relies on it timing out
withenv("JULIA_WORKER_TIMEOUT" => "10") do
@test errors_not_signals(`$exename --worker=true`)
end

# --trace-compile
let
Expand Down

0 comments on commit 779b750

Please sign in to comment.