Skip to content

Commit ec2efea

Browse files
authored
Update error_path_manager_timeout.jl
1 parent 1e0adb6 commit ec2efea

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
@@ -40,7 +40,8 @@ mktempdir() do tmpdir
4040
expected_inner_ex_T = ErrorException
4141
expected_inner_ex_INSTANCE = ErrorException("launch_timeout exceeded")
4242
mgr = SlurmClusterManager.SlurmManager(; launch_timeout = 2.0)
43-
observed_outer_ex = @test_throws expected_outer_ex_T Distributed.addprocs(mgr)
43+
test_result = @test_throws expected_outer_ex_T Distributed.addprocs(mgr)
44+
observed_outer_ex = test_result.value
4445
@info "" observed_outer_ex # TODO: Delete this line
4546
@show dump(observed_outer_ex) # TODO: Delete this line
4647
@test observed_outer_ex isa expected_outer_ex_T

0 commit comments

Comments
 (0)