diff options
author | Kshitij Gupta <kshitij.gupta@mongodb.com> | 2022-05-03 14:04:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-03 16:09:52 +0000 |
commit | 206098af2e7d120df5d1e82c1e94f6bf65644842 (patch) | |
tree | 3207c5bb072afc8d2850f36c879a12a3a5a30ced | |
parent | 28bb17b33b6445c9cf0c6c70523846372d6e1172 (diff) | |
download | mongo-206098af2e7d120df5d1e82c1e94f6bf65644842.tar.gz |
SERVER-66109: Fix bad dns hostname resolution taking longer than expected.
-rw-r--r-- | src/mongo/db/process_health/fault_state_machine_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/process_health/fault_state_machine_test.cpp b/src/mongo/db/process_health/fault_state_machine_test.cpp index 913fb168d69..065ac057136 100644 --- a/src/mongo/db/process_health/fault_state_machine_test.cpp +++ b/src/mongo/db/process_health/fault_state_machine_test.cpp @@ -362,7 +362,7 @@ TEST_F(FaultManagerTest, HealthCheckWithOffFacetCreatesNoFaultInOk) { TEST_F(FaultManagerTest, DNSHealthCheckWithBadHostNameFailsAndGoodHostNameSuccess) { RAIIServerParameterControllerForTest _controller{"featureFlagHealthMonitoring", true}; - RAIIServerParameterControllerForTest serverParamController{"activeFaultDurationSecs", 10}; + RAIIServerParameterControllerForTest serverParamController{"activeFaultDurationSecs", 30}; const auto faultFacetType = FaultFacetType::kDns; auto config = std::make_unique<FaultManagerConfig>(); config->setIntensityForType(faultFacetType, HealthObserverIntensityEnum::kCritical); |