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 6fb39c5 commit f2c9238Copy full SHA for f2c9238
test/error_path_intentionally_fail.jl
@@ -26,13 +26,8 @@ mktempdir() do tmpdir
26
withenv(new_env...) do
27
@info "with new PATH" Sys.which("srun")
28
29
- if Base.VERSION >= v"1.2-"
30
- expected_outer_ex_T = TaskFailedException
31
- expected_inner_ex_INSTANCE = Base.IOError("write: broken pipe (EPIPE)", -32)
32
- else
33
- expected_outer_ex_T = Base.IOError
34
35
- end
+ expected_outer_ex_T = Base.IOError
+ expected_inner_ex_INSTANCE = Base.IOError("write: broken pipe (EPIPE)", -32)
36
37
mgr = SlurmClusterManager.SlurmManager()
38
test_result = @test_throws expected_outer_ex_T Distributed.addprocs(mgr)
0 commit comments