summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKshitij Gupta <kshitij.gupta@mongodb.com>2022-03-07 20:19:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-14 14:38:57 +0000
commitdec53019d57fc35bc50f0f32af307932f4ff8df6 (patch)
tree9cf86153a700f916955909ec48ac44cf143aec25
parent8f0f84b5d7d483374622b80649a2f1dae70ee61c (diff)
downloadmongo-dec53019d57fc35bc50f0f32af307932f4ff8df6.tar.gz
SERVER-64223: Increase kActiveFaultDuration for HostNameFailsAndGoodHostNameSuccess test.
(cherry picked from commit 8aa078b14fedb2486b5fa4df467531ddf6b65a46)
-rw-r--r--src/mongo/db/process_health/fault_state_machine_test.cpp1
1 files changed, 1 insertions, 0 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 0a08b20cb8d..913fb168d69 100644
--- a/src/mongo/db/process_health/fault_state_machine_test.cpp
+++ b/src/mongo/db/process_health/fault_state_machine_test.cpp
@@ -362,6 +362,7 @@ TEST_F(FaultManagerTest, HealthCheckWithOffFacetCreatesNoFaultInOk) {
TEST_F(FaultManagerTest, DNSHealthCheckWithBadHostNameFailsAndGoodHostNameSuccess) {
RAIIServerParameterControllerForTest _controller{"featureFlagHealthMonitoring", true};
+ RAIIServerParameterControllerForTest serverParamController{"activeFaultDurationSecs", 10};
const auto faultFacetType = FaultFacetType::kDns;
auto config = std::make_unique<FaultManagerConfig>();
config->setIntensityForType(faultFacetType, HealthObserverIntensityEnum::kCritical);