mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-21 23:56:56 +02:00
Problem: various tests fail in slow environments
Solution: add msleep (SETTLE_TIME) to test_immediate, test_spec_rep and test_spec_router after the sockets are created and connected to avoid failing when running in slower environment like through Valgrind in underpowered VMs.
This commit is contained in:
@@ -57,6 +57,8 @@ void test_fair_queue_in (void *ctx)
|
||||
assert (rc == 0);
|
||||
}
|
||||
|
||||
msleep (SETTLE_TIME);
|
||||
|
||||
s_send_seq (reqs [0], "A", SEQ_END);
|
||||
s_recv_seq (rep, "A", SEQ_END);
|
||||
s_send_seq (rep, "A", SEQ_END);
|
||||
|
Reference in New Issue
Block a user