Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only wait for the finished message in the updown test

Previously any unexpected messages would crash, but I think just
blocking until the finish message comes in is enough.
  • Loading branch information...
commit 5412ac32c713ab8f5b2877598890fb7a866b5ab6 1 parent afbab36
@Vagabond Vagabond authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/riak_core_tcp_mon.erl
View
5 src/riak_core_tcp_mon.erl
@@ -404,10 +404,7 @@ updown() ->
end,
lists:seq(1,10000)),
receive
- finished -> ok;
- {'EXIT', _, normal} -> ok;
- X -> io:format(user, "Unexpected message received ~p~n", [X]),
- ?assert(fail)
+ finished -> ok
end,
gen_tcp:close(Socket),
unlink(TCPMonPid),
Please sign in to comment.
Something went wrong with that request. Please try again.