Problem: test cases are failing on slower PCs (eee PC)

Solution: raise timeouts from 100-150 msec to 250 msec
This commit is contained in:
Pieter Hintjens
2015-01-30 11:57:31 +01:00
parent 9fc0d2f1a3
commit a7a512ab3d
13 changed files with 19 additions and 19 deletions

View File

@@ -36,7 +36,7 @@ void test_round_robin_out (void *ctx)
rep [peer] = zmq_socket (ctx, ZMQ_REP);
assert (rep [peer]);
int timeout = 100;
int timeout = 250;
rc = zmq_setsockopt (rep [peer], ZMQ_RCVTIMEO, &timeout, sizeof (int));
assert (rc == 0);
@@ -83,7 +83,7 @@ void test_req_only_listens_to_current_peer (void *ctx)
router [i] = zmq_socket (ctx, ZMQ_ROUTER);
assert (router [i]);
int timeout = 100;
int timeout = 250;
rc = zmq_setsockopt (router [i], ZMQ_RCVTIMEO, &timeout, sizeof (timeout));
assert (rc == 0);
@@ -195,7 +195,7 @@ void test_block_on_send_no_peers (void *ctx)
void *sc = zmq_socket (ctx, ZMQ_REQ);
assert (sc);
int timeout = 100;
int timeout = 250;
int rc = zmq_setsockopt (sc, ZMQ_SNDTIMEO, &timeout, sizeof (timeout));
assert (rc == 0);