diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-07-03 13:44:41 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-07-03 13:44:41 +0200 |
commit | da26134aa696352de6e77a800a433878dbabb7fa (patch) | |
tree | 843752a594d60d565e315b0099bd2c100b5e0ea7 | |
parent | 7c0c79812075459765440ca26bad56f4f7ddbe52 (diff) |
Inproc tests need no I/O threads
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r-- | tests/test_pair_inproc.cpp | 2 | ||||
-rw-r--r-- | tests/test_reqrep_inproc.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pair_inproc.cpp b/tests/test_pair_inproc.cpp index 17c37e0..6194f2a 100644 --- a/tests/test_pair_inproc.cpp +++ b/tests/test_pair_inproc.cpp @@ -23,7 +23,7 @@ int main (int argc, char *argv []) { - void *ctx = zmq_init (1); + void *ctx = zmq_init (0); assert (ctx); void *sb = zmq_socket (ctx, ZMQ_PAIR); diff --git a/tests/test_reqrep_inproc.cpp b/tests/test_reqrep_inproc.cpp index 7fd0e69..aeff7ef 100644 --- a/tests/test_reqrep_inproc.cpp +++ b/tests/test_reqrep_inproc.cpp @@ -23,7 +23,7 @@ int main (int argc, char *argv []) { - void *ctx = zmq_init (1); + void *ctx = zmq_init (0); assert (ctx); void *sb = zmq_socket (ctx, ZMQ_REP); |