summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_shutdown_stress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp
index dccf91f..ef81758 100644
--- a/tests/test_shutdown_stress.cpp
+++ b/tests/test_shutdown_stress.cpp
@@ -58,7 +58,7 @@ int main (int argc, char *argv [])
ctx = zmq_init (7);
assert (ctx);
- s1 = zmq_socket (ctx, ZMQ_REP);
+ s1 = zmq_socket (ctx, ZMQ_PUB);
assert (s1);
rc = zmq_bind (s1, "tcp://127.0.0.1:5560");