mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-19 21:16:54 +02:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user