Skip to content

Commit 87671b1

Browse files
authored
Update error_path_manager_timeout.jl
1 parent f5dbf8c commit 87671b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/error_path_manager_timeout.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ mktempdir() do tmpdir
3535
@info "with old PATH" Sys.which("srun")
3636
withenv(new_env...) do
3737
@info "with new PATH" Sys.which("srun")
38+
3839
expected_outer_ex_T = TaskFailedException
39-
4040
if Base.VERSION >= v"1.1"
4141
expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
4242
else
4343
expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
4444
end
45+
4546
mgr = SlurmClusterManager.SlurmManager(; launch_timeout = 2.0)
4647
test_result = @test_throws expected_outer_ex_T Distributed.addprocs(mgr)
4748
cfg = ConfigForTestingTaskFailedException(;

0 commit comments

Comments
 (0)