From b829abf80b7e4f8512a3e69935e351724cba4a74 Mon Sep 17 00:00:00 2001 From: Benety Goh Date: Thu, 11 Apr 2019 16:00:28 -0400 Subject: SERVER-40414 fix mac os compile --- src/mongo/executor/task_executor_cursor_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mongo/executor/task_executor_cursor_test.cpp b/src/mongo/executor/task_executor_cursor_test.cpp index b1390e3b253..7fc7af43c65 100644 --- a/src/mongo/executor/task_executor_cursor_test.cpp +++ b/src/mongo/executor/task_executor_cursor_test.cpp @@ -228,7 +228,7 @@ TEST_F(TaskExecutorCursorFixture, MultipleBatchesWorks) { ErrorCodes::ExceededTimeLimit); // We can pick up after that interruption though - ASSERT_BSONOBJ_EQ(BSON("getMore" << long(1) << "collection" + ASSERT_BSONOBJ_EQ(BSON("getMore" << (long long)(1) << "collection" << "test" << "batchSize" << 3), @@ -281,7 +281,7 @@ TEST_F(TaskExecutorCursorFixture, LsidIsPassed) { ASSERT_EQUALS(tec->getNext(opCtx.get()).get()["x"].Int(), 1); // lsid in the getmore - ASSERT_BSONOBJ_EQ(BSON("getMore" << long(1) << "collection" + ASSERT_BSONOBJ_EQ(BSON("getMore" << (long long)(1) << "collection" << "test" << "batchSize" << 1 -- cgit v1.2.1