Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test for invalid thread count

  • Loading branch information...
commit 628af0c2ded9bb92f22dd533a73f7213eafe07a9 1 parent ae447bd
@gar1t authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  test/erlzmq_test.erl
View
3  test/erlzmq_test.erl
@@ -55,6 +55,9 @@ reqrep_tcp_test() ->
basic_tests("tcp://127.0.0.1:5556", req, rep, active),
basic_tests("tcp://127.0.0.1:5557", req, rep, passive).
+bad_init_test() ->
+ ?assertEqual({error, einval}, erlzmq:context(-1)).
+
shutdown_stress_test() ->
?assertMatch(ok, shutdown_stress_loop(10)).
Please sign in to comment.
Something went wrong with that request. Please try again.