summaryrefslogtreecommitdiff
path: root/src/mongo/db/logical_time_validator_test.cpp
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2017-06-22 12:39:10 -0400
committerJack Mulrow <jack.mulrow@mongodb.com>2017-06-22 13:21:42 -0400
commit4a5b1dcf17f3235f3d60b481387f2bd46017d81f (patch)
treed9ea324b181c4c20ac8167f1f7e013ccb421e075 /src/mongo/db/logical_time_validator_test.cpp
parente648b2bda5f48256b7cb330806f0456b02b94abc (diff)
downloadmongo-4a5b1dcf17f3235f3d60b481387f2bd46017d81f.tar.gz
SERVER-29652 don't enable key generator too early in logical_time_validator_test
Diffstat (limited to 'src/mongo/db/logical_time_validator_test.cpp')
-rw-r--r--src/mongo/db/logical_time_validator_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/logical_time_validator_test.cpp b/src/mongo/db/logical_time_validator_test.cpp
index e8b344ccbdc..6f743ecf47f 100644
--- a/src/mongo/db/logical_time_validator_test.cpp
+++ b/src/mongo/db/logical_time_validator_test.cpp
@@ -176,11 +176,7 @@ TEST_F(LogicalTimeValidatorTest, ShouldGossipLogicalTimeIsFalseUntilKeysAreFound
// shouldGossipLogicalTime initially returns false.
ASSERT_EQ(false, validator()->shouldGossipLogicalTime());
- // Enable key generation.
- validator()->enableKeyGenerator(operationContext(), true);
-
// shouldGossipLogicalTime still returns false after an unsuccessful refresh.
- validator()->enableKeyGenerator(operationContext(), false);
refreshKeyManager();
LogicalTime t1(Timestamp(20, 0));