diff options
author | James Wahlin <james.wahlin@10gen.com> | 2016-08-25 08:36:22 -0400 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2016-08-26 16:45:30 -0400 |
commit | a4a9a9ad29415239091db171e01f45677464f668 (patch) | |
tree | 461bbdd6275712543b617ce6e8b8bbc313ffb9e0 /src/mongo/s/query/store_possible_cursor_test.cpp | |
parent | 752dcf912d5e45c8614ed749e20982e69cc89813 (diff) | |
download | mongo-a4a9a9ad29415239091db171e01f45677464f668.tar.gz |
SERVER-24771 Support killCursors & mongos getMore on view namespace
Diffstat (limited to 'src/mongo/s/query/store_possible_cursor_test.cpp')
-rw-r--r-- | src/mongo/s/query/store_possible_cursor_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/s/query/store_possible_cursor_test.cpp b/src/mongo/s/query/store_possible_cursor_test.cpp index 8591c500097..7e7b5d671f0 100644 --- a/src/mongo/s/query/store_possible_cursor_test.cpp +++ b/src/mongo/s/query/store_possible_cursor_test.cpp @@ -64,6 +64,7 @@ TEST_F(StorePossibleCursorTest, ReturnsValidCursorResponse) { auto outgoingCursorResponse = storePossibleCursor(hostAndPort, cursorResponse.toBSON(CursorResponse::ResponseType::InitialResponse), + nss, nullptr, // TaskExecutor getManager()); ASSERT_OK(outgoingCursorResponse.getStatus()); @@ -81,6 +82,7 @@ TEST_F(StorePossibleCursorTest, ReturnsValidCursorResponse) { TEST_F(StorePossibleCursorTest, FailsGracefullyOnBadCursorResponseDocument) { auto outgoingCursorResponse = storePossibleCursor(hostAndPort, fromjson("{ok: 1, cursor: {}}"), + nss, nullptr, // TaskExecutor getManager()); ASSERT_NOT_OK(outgoingCursorResponse.getStatus()); @@ -94,6 +96,7 @@ TEST_F(StorePossibleCursorTest, PassesUpCommandResultIfItDoesNotDescribeACursor) << "cursor"); auto outgoingCursorResponse = storePossibleCursor(hostAndPort, notACursorObj, + nss, nullptr, // TaskExecutor getManager()); ASSERT_OK(outgoingCursorResponse.getStatus()); |