summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/client/sdam/server_selector_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/client/sdam/server_selector_test.cpp b/src/mongo/client/sdam/server_selector_test.cpp
index 233c00b32a5..f5ae845a053 100644
--- a/src/mongo/client/sdam/server_selector_test.cpp
+++ b/src/mongo/client/sdam/server_selector_test.cpp
@@ -303,8 +303,6 @@ TEST_F(ServerSelectorTestFixture, ShouldSelectPreferredIfAvailable) {
TopologyStateMachine stateMachine(sdamConfiguration);
auto topologyDescription = std::make_shared<TopologyDescription>(sdamConfiguration);
- const int MAX_STALENESS = 60;
- const auto sixtySeconds = Seconds(MAX_STALENESS);
const auto now = Date_t::now();
@@ -359,8 +357,6 @@ TEST_F(ServerSelectorTestFixture, ShouldSelectTaggedSecondaryIfPreferredPrimaryN
TopologyStateMachine stateMachine(sdamConfiguration);
auto topologyDescription = std::make_shared<TopologyDescription>(sdamConfiguration);
- const int MAX_STALENESS = 60;
- const auto sixtySeconds = Seconds(MAX_STALENESS);
const auto now = Date_t::now();
const auto d0 = now - Milliseconds(1000);