Permalink
Browse files

Merge pull request #550 from basho/adt-fix-tcp_mon-test

Only wait for the finished message in the updown test
  • Loading branch information...
Vagabond committed Mar 5, 2014
2 parents afbab36 + 5412ac3 commit 8e4292d448fc9b795fdc95efe28f809105a0d0c8
Showing with 1 addition and 4 deletions.
  1. +1 −4 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),

0 comments on commit 8e4292d

Please sign in to comment.