summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/collection_cloner_test.cpp
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2016-09-20 01:22:56 -0400
committerScott Hernandez <scotthernandez@gmail.com>2016-09-26 17:25:44 -0400
commit56c9b8d8cc514de6c7a9342b8f47d5e06ead0d68 (patch)
tree8cc48aa72c0e6e65f922c87b43472b6304940984 /src/mongo/db/repl/collection_cloner_test.cpp
parentcededadafa62177d34fb960eec90d6d30f25f943 (diff)
downloadmongo-56c9b8d8cc514de6c7a9342b8f47d5e06ead0d68.tar.gz
SERVER-26179: Have CollectionBulkLoader::init use runner to execute work, not within runner task.
Diffstat (limited to 'src/mongo/db/repl/collection_cloner_test.cpp')
-rw-r--r--src/mongo/db/repl/collection_cloner_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/collection_cloner_test.cpp b/src/mongo/db/repl/collection_cloner_test.cpp
index a92ebf3e674..6c31428d2bd 100644
--- a/src/mongo/db/repl/collection_cloner_test.cpp
+++ b/src/mongo/db/repl/collection_cloner_test.cpp
@@ -89,7 +89,7 @@ void CollectionClonerTest::setUp() {
const BSONObj idIndexSpec,
const std::vector<BSONObj>& secondaryIndexSpecs) {
(_loader = new CollectionBulkLoaderMock(&collectionStats))
- ->init(nullptr, nullptr, secondaryIndexSpecs);
+ ->init(nullptr, secondaryIndexSpecs);
return StatusWith<std::unique_ptr<CollectionBulkLoader>>(
std::unique_ptr<CollectionBulkLoader>(_loader));
@@ -209,7 +209,7 @@ TEST_F(CollectionClonerTest, DoNotCreateIDIndexIfAutoIndexIdUsed) {
collNss = theNss;
collOptions = theOptions;
collIndexSpecs = theIndexSpecs;
- loader->init(nullptr, nullptr, theIndexSpecs);
+ loader->init(nullptr, theIndexSpecs);
return std::unique_ptr<CollectionBulkLoader>(loader);
};