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_push_round_robin_out (void *ctx)
pulls [peer] = zmq_socket (ctx, ZMQ_PULL);
assert (pulls [peer]);
int timeout = 100;
int timeout = 250;
rc = zmq_setsockopt (pulls [peer], ZMQ_RCVTIMEO, &timeout, sizeof (int));
assert (rc == 0);
@@ -155,7 +155,7 @@ void test_push_block_on_send_no_peers (void *ctx)
void *sc = zmq_socket (ctx, ZMQ_PUSH);
assert (sc);
int timeout = 100;
int timeout = 250;
int rc = zmq_setsockopt (sc, ZMQ_SNDTIMEO, &timeout, sizeof (timeout));
assert (rc == 0);