summaryrefslogtreecommitdiff
path: root/src/mongo/db/time_proof_service_test.cpp
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2017-07-11 12:46:24 -0400
committerMisha Tyulenev <misha@mongodb.com>2017-07-11 12:47:24 -0400
commit42a1339774964f645a3991c3629aa655ffb05cf2 (patch)
tree219ff15c39190d2aa734ea0cafb4b25d41b4e648 /src/mongo/db/time_proof_service_test.cpp
parent2ed5ff7d34959ebe204697ff615d24a8eabc45bf (diff)
downloadmongo-42a1339774964f645a3991c3629aa655ffb05cf2.tar.gz
SERVER-30038 rename $logicalTime to $clusterTime
Diffstat (limited to 'src/mongo/db/time_proof_service_test.cpp')
-rw-r--r--src/mongo/db/time_proof_service_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/time_proof_service_test.cpp b/src/mongo/db/time_proof_service_test.cpp
index e033a1f3047..7f1ce4a6b7d 100644
--- a/src/mongo/db/time_proof_service_test.cpp
+++ b/src/mongo/db/time_proof_service_test.cpp
@@ -40,7 +40,7 @@ using TimeProof = TimeProofService::TimeProof;
const TimeProofService::Key key = {};
-// Verifies logical time with proof signed with the correct key.
+// Verifies cluster time with proof signed with the correct key.
TEST(TimeProofService, VerifyLogicalTimeWithValidProof) {
TimeProofService timeProofService;
@@ -50,7 +50,7 @@ TEST(TimeProofService, VerifyLogicalTimeWithValidProof) {
ASSERT_OK(timeProofService.checkProof(time, proof, key));
}
-// Fails for logical time with proof signed with an invalid key.
+// Fails for cluster time with proof signed with an invalid key.
TEST(TimeProofService, LogicalTimeWithMismatchingProofShouldFail) {
TimeProofService timeProofService;