summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/executor/network_interface_asio_integration_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/executor/network_interface_asio_integration_test.cpp b/src/mongo/executor/network_interface_asio_integration_test.cpp
index b52b761476c..f2af23d7a97 100644
--- a/src/mongo/executor/network_interface_asio_integration_test.cpp
+++ b/src/mongo/executor/network_interface_asio_integration_test.cpp
@@ -232,7 +232,7 @@ private:
};
TEST_F(NetworkInterfaceASIOIntegrationTest, StressTest) {
- constexpr std::size_t numOps = 1000;
+ constexpr std::size_t numOps = 10000;
std::vector<Status> testResults(numOps, {ErrorCodes::InternalError, "uninitialized"});
ErrorCodes::Error expectedResults[numOps];
CountdownLatch cl(numOps);
@@ -249,7 +249,7 @@ TEST_F(NetworkInterfaceASIOIntegrationTest, StressTest) {
for (std::size_t i = 0; i < numOps; ++i) {
// stagger operations slightly to mitigate connection pool contention
- sleepmillis(rng.nextInt32(16));
+ sleepmillis(rng.nextInt32(10));
auto r = rng.nextCanonicalDouble();