Skip to content

Commit 779b750

Browse files
Use faster timeout on cmdlineargs test that relies on timeout (#57164)
1 parent c19a6bb commit 779b750

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/cmdlineargs.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,10 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no`
798798

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

803806
# --trace-compile
804807
let

0 commit comments

Comments
 (0)