summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Nelson <lamont.nelson@mongodb.com>2020-02-25 17:51:11 -0500
committerLamont Nelson <lamont.nelson@mongodb.com>2020-02-25 17:51:11 -0500
commitd0cdc4d7fe79654a9a820c1973749647a9bb1c91 (patch)
tree25687b2bcfde24c1cb0e27743400d5a369a3bb15
parentaceacb6f5d1c6226cc3102516be9f14c5096cdeb (diff)
downloadmongo-d0cdc4d7fe79654a9a820c1973749647a9bb1c91.tar.gz
remove unused vars
-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);