diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-04-09 14:12:05 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-04-13 16:18:35 -0400 |
commit | a820491e9402a52d7575157a9897306d49129370 (patch) | |
tree | 61ed25fdec3912a8fc1407bcb52380b110b697fa /src/mongo/db/pipeline/document_source_check_resume_token_test.cpp | |
parent | 4b894b4a55467c38bb7910317af00793b493de37 (diff) | |
download | mongo-a820491e9402a52d7575157a9897306d49129370.tar.gz |
SERVER-34313 Use hex-encoded string for resume token
Diffstat (limited to 'src/mongo/db/pipeline/document_source_check_resume_token_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_check_resume_token_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_check_resume_token_test.cpp b/src/mongo/db/pipeline/document_source_check_resume_token_test.cpp index 530d6b13129..c216c81b52d 100644 --- a/src/mongo/db/pipeline/document_source_check_resume_token_test.cpp +++ b/src/mongo/db/pipeline/document_source_check_resume_token_test.cpp @@ -66,7 +66,9 @@ protected: */ void addDocument(Timestamp ts, Document docKey, UUID uuid = testUuid()) { _mock->queue.push_back( - Document{{"_id", ResumeToken(ResumeTokenData(ts, Value(docKey), uuid)).toDocument()}}); + Document{{"_id", + ResumeToken(ResumeTokenData(ts, Value(docKey), uuid)) + .toDocument(ResumeToken::SerializationFormat::kHexString)}}); } /** * Pushes a document with a resume token corresponding to the given timestamp, _id string, and |