Skip to content

Commit

Permalink
replace equalto and occursin with curried isequal, ==, and `i…
Browse files Browse the repository at this point in the history
…n` (#26436)
  • Loading branch information
JeffBezanson authored Mar 15, 2018
1 parent 1d64572 commit ee8086b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ if DoFullTest
pids=addprocs_with_testenv(4);
@test_throws ErrorException rmprocs(pids; waitfor=0.001);
# wait for workers to be removed
while any(occursin(procs()), pids)
while any(in(procs()), pids)
sleep(0.1)
end
end
Expand Down Expand Up @@ -1483,7 +1483,7 @@ function reuseport_tests()
end

# Ensure that the code has indeed been successfully executed everywhere
@test all(occursin(results), procs())
@test all(in(results), procs())
end

# Test that the client port is reused. SO_REUSEPORT may not be supported on
Expand Down

0 comments on commit ee8086b

Please sign in to comment.