Skip to content

Commit 54bb910

Browse files
authored
Update error_path_intentionally_fail.jl
1 parent 1ae71aa commit 54bb910

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/error_path_intentionally_fail.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ mktempdir() do tmpdir
3030

3131
if Base.VERSION >= v"1.2-"
3232
expected_outer_ex_T = TaskFailedException
33-
expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
33+
expected_inner_ex_INSTANCE = Base.IOError("write: broken pipe (EPIPE)", -32)
3434
else
3535
expected_outer_ex_T = Base.IOError
36-
expected_inner_ex_INSTANCE = Base.IOError("hello world")
36+
expected_inner_ex_INSTANCE = Base.IOError("write: broken pipe (EPIPE)", -32)
3737
end
3838

3939
mgr = SlurmClusterManager.SlurmManager()

0 commit comments

Comments
 (0)