From 25b3e7af022bfc22e3ae3aa67c3dae1b9130feff Mon Sep 17 00:00:00 2001 From: Bill Torpey Date: Fri, 30 Sep 2022 11:45:19 -0400 Subject: [PATCH] avoid intermittent timeouts in test (esp. when run w/ASAN etc.) --- tests/test_spec_req.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_spec_req.cpp b/tests/test_spec_req.cpp index 99d15263..a2abe92e 100644 --- a/tests/test_spec_req.cpp +++ b/tests/test_spec_req.cpp @@ -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 // will not properly round-robin. We could alternatively connect the // 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 for (size_t peer = 0; peer < services; peer++) {