diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-01-13 18:03:22 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-01-13 18:03:22 -0800 |
| commit | 859bc56d1a64cd37500b3291634be416e3fbb0e7 (patch) | |
| tree | 502403ecc69aa54b1b71f1951410ec401a69111c | |
| parent | 01247035ba347af651719864f0b95ee06b561e53 (diff) | |
| download | nng-859bc56d1a64cd37500b3291634be416e3fbb0e7.tar.gz nng-859bc56d1a64cd37500b3291634be416e3fbb0e7.tar.bz2 nng-859bc56d1a64cd37500b3291634be416e3fbb0e7.zip | |
Give time for REQ backpressure to ease in test suite.
| -rw-r--r-- | src/protocol/reqrep0/req_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
