From 859bc56d1a64cd37500b3291634be416e3fbb0e7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 13 Jan 2020 18:03:22 -0800 Subject: Give time for REQ backpressure to ease in test suite. --- src/protocol/reqrep0/req_test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/protocol') diff --git a/src/protocol/reqrep0/req_test.c b/src/protocol/reqrep0/req_test.c index 523af1d8..8b57740d 100644 --- a/src/protocol/reqrep0/req_test.c +++ b/src/protocol/reqrep0/req_test.c @@ -454,6 +454,10 @@ test_req_poll_contention(void) TEST_NNG_PASS(nng_recvmsg(rep, &msg, 0)); nng_msg_free(msg); } + // It can take a little bit of time for the eased back-pressure + // to reflect across the network. + testutil_sleep(100); + // Should be come writeable now... TEST_CHECK(testutil_pollfd(fd) == true); -- cgit v1.2.3-70-g09d2