We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb7e6b commit b5746e3Copy full SHA for b5746e3
test/error_path_intentionally_fail.jl
@@ -26,8 +26,13 @@ mktempdir() do tmpdir
26
withenv(new_env...) do
27
@info "with new PATH" Sys.which("srun")
28
29
- expected_outer_ex_T = Base.IOError
30
- expected_inner_ex_INSTANCE = Base.IOError("write: broken pipe (EPIPE)", -32)
+ if Base.VERSION >= v"1.2-"
+ expected_outer_ex_T = TaskFailedException
31
+ expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
32
+ else
33
+ expected_outer_ex_T = Base.IOError
34
+ expected_inner_ex_INSTANCE = Base.IOError("write: broken pipe (EPIPE)", -32)
35
+ end
36
37
mgr = SlurmClusterManager.SlurmManager()
38
test_result = @test_throws expected_inner_ex_INSTANCE Distributed.addprocs(mgr)
0 commit comments