diff options
Diffstat (limited to 'src/mongo/s/query/cluster_client_cursor_impl_test.cpp')
-rw-r--r-- | src/mongo/s/query/cluster_client_cursor_impl_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/query/cluster_client_cursor_impl_test.cpp b/src/mongo/s/query/cluster_client_cursor_impl_test.cpp index 6c10cf18530..549a692d720 100644 --- a/src/mongo/s/query/cluster_client_cursor_impl_test.cpp +++ b/src/mongo/s/query/cluster_client_cursor_impl_test.cpp @@ -164,7 +164,7 @@ TEST(ClusterClientCursorImpl, LogicalSessionIdsOnCursors) { // Make a cursor with an lsid auto mockStage2 = stdx::make_unique<RouterStageMock>(); ClusterClientCursorParams params2(NamespaceString("test"), {}); - auto lsid = LogicalSessionId::gen(); + auto lsid = makeLogicalSessionIdForTest(); ClusterClientCursorImpl cursor2{std::move(mockStage2), std::move(params2), lsid}; ASSERT(*(cursor2.getLsid()) == lsid); } |