summaryrefslogtreecommitdiff
path: root/src/mongo/executor
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-04-11 16:00:28 -0400
committerBenety Goh <benety@mongodb.com>2019-04-11 16:00:58 -0400
commitb829abf80b7e4f8512a3e69935e351724cba4a74 (patch)
tree3b53d36c4d290243cb6053b3a22594692a432eb8 /src/mongo/executor
parent7f186f909f16e6c3c1365d74ad37603d917d1b85 (diff)
downloadmongo-b829abf80b7e4f8512a3e69935e351724cba4a74.tar.gz
SERVER-40414 fix mac os compile
Diffstat (limited to 'src/mongo/executor')
-rw-r--r--src/mongo/executor/task_executor_cursor_test.cpp4
1 files 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