summaryrefslogtreecommitdiff
path: root/tests/test_shutdown_stress.cpp
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2011-05-09 11:20:08 +0200
committerMartin Lucina <martin@lucina.net>2012-01-23 08:53:47 +0100
commitf34d1599a651dd0b8feba2397f87629733988384 (patch)
tree07694c4ed96bf7b0ecadebc76d6da3f6c0125219 /tests/test_shutdown_stress.cpp
parent8eea9178e40abf16c0e469465a58fba3beaaf754 (diff)
parentcbaa7cfa93893876e4fd8794b6ea39f4d245b6b5 (diff)
Imported Debian patch 2.1.6-1debian/2.1.6-1
Diffstat (limited to 'tests/test_shutdown_stress.cpp')
-rw-r--r--tests/test_shutdown_stress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp
index 85ba912..dccf91f 100644
--- a/tests/test_shutdown_stress.cpp
+++ b/tests/test_shutdown_stress.cpp
@@ -23,7 +23,7 @@
#include <pthread.h>
#include <stddef.h>
-#define THREAD_COUNT 100
+#define THREAD_COUNT 10
extern "C"
{
@@ -31,7 +31,7 @@ extern "C"
{
int rc;
- rc = zmq_connect (s, "tcp://127.0.0.1:5555");
+ rc = zmq_connect (s, "tcp://127.0.0.1:5560");
assert (rc == 0);
// Start closing the socket while the connecting process is underway.
@@ -61,7 +61,7 @@ int main (int argc, char *argv [])
s1 = zmq_socket (ctx, ZMQ_REP);
assert (s1);
- rc = zmq_bind (s1, "tcp://127.0.0.1:5555");
+ rc = zmq_bind (s1, "tcp://127.0.0.1:5560");
assert (rc == 0);
for (i = 0; i != THREAD_COUNT; i++) {