mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Merge pull request #3968 from bluca/fuzzers
Problem: test_req_relaxed occasionally fails
This commit is contained in:
commit
d78ecb8dc8
@ -27,8 +27,6 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "testutil.hpp"
|
||||
|
||||
#include "testutil.hpp"
|
||||
#include "testutil_unity.hpp"
|
||||
|
||||
@ -63,11 +61,12 @@ void setUp ()
|
||||
zmq_setsockopt (rep[peer], ZMQ_RCVTIMEO, &timeout, sizeof (int)));
|
||||
|
||||
TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (rep[peer], my_endpoint));
|
||||
|
||||
// These tests require strict ordering, so wait for the connections to
|
||||
// happen before opening the next, so that messages flow in the
|
||||
// expected direction
|
||||
msleep (SETTLE_TIME);
|
||||
}
|
||||
// We have to give the connects time to finish otherwise the requests
|
||||
// will not properly round-robin. We could alternatively connect the
|
||||
// REQ sockets to the REP sockets.
|
||||
msleep (SETTLE_TIME);
|
||||
}
|
||||
|
||||
void tearDown ()
|
||||
|
Loading…
Reference in New Issue
Block a user