mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Merge pull request #4430 from nyfix/test_spec_req_tmo
avoid intermittent timeouts in test (esp. when run w/ASAN etc.)
This commit is contained in:
commit
e15fb044ef
@ -53,7 +53,7 @@ void test_round_robin_out (const char *bind_address_)
|
|||||||
// We have to give the connects time to finish otherwise the requests
|
// We have to give the connects time to finish otherwise the requests
|
||||||
// will not properly round-robin. We could alternatively connect the
|
// will not properly round-robin. We could alternatively connect the
|
||||||
// REQ sockets to the REP sockets.
|
// REQ sockets to the REP sockets.
|
||||||
msleep (SETTLE_TIME);
|
msleep (SETTLE_TIME * services);
|
||||||
|
|
||||||
// Send our peer-replies, and expect every REP it used once in order
|
// Send our peer-replies, and expect every REP it used once in order
|
||||||
for (size_t peer = 0; peer < services; peer++) {
|
for (size_t peer = 0; peer < services; peer++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user