From da26134aa696352de6e77a800a433878dbabb7fa Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 3 Jul 2011 13:44:41 +0200 Subject: Inproc tests need no I/O threads Signed-off-by: Martin Sustrik --- tests/test_pair_inproc.cpp | 2 +- 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); -- cgit v1.2.3