Skip to content

Commit 3f59b7f

Browse files
committed
Update error_path_manager_timeout.jl
1 parent e2ad321 commit 3f59b7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/error_path_manager_timeout.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ mktempdir() do tmpdir
3636
withenv(new_env...) do
3737
@info "with new PATH" Sys.which("srun")
3838

39-
expected_outer_ex_T = TaskFailedException
4039
if Base.VERSION >= v"1.1"
40+
expected_outer_ex_T = TaskFailedException
4141
expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
4242
else
43-
expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
43+
expected_outer_ex_T = Base.IOError
44+
expected_inner_ex_INSTANCE = Base.IOError("hello world")
4445
end
4546

4647
mgr = SlurmClusterManager.SlurmManager(; launch_timeout = 2.0)

0 commit comments

Comments
 (0)