summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-01-21 20:20:53 -0500
committerBenety Goh <benety@mongodb.com>2017-01-23 12:56:10 -0500
commitae04822985f2478c7da1e6821f5fc91b484b9555 (patch)
tree1bf15c61b377f5e87d5fe4e64ab45963b6fc665c /src
parentab67716a0cee36d0860499b03344134814436844 (diff)
downloadmongo-ae04822985f2478c7da1e6821f5fc91b484b9555.tar.gz
SERVER-27775 fixed race in CollectionClonerTest::CollectionClonerCannotBeRestartedAfterPreviousFailure
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/repl/collection_cloner_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/collection_cloner_test.cpp b/src/mongo/db/repl/collection_cloner_test.cpp
index 3503a95e803..8c0ac71ba70 100644
--- a/src/mongo/db/repl/collection_cloner_test.cpp
+++ b/src/mongo/db/repl/collection_cloner_test.cpp
@@ -1105,7 +1105,7 @@ TEST_F(CollectionClonerTest, CollectionClonerCannotBeRestartedAfterPreviousFailu
"failed to read remaining documents from source collection");
}
- collectionCloner->waitForDbWorker();
+ collectionCloner->join();
ASSERT_EQUALS(1, collectionStats.insertCount);
ASSERT_EQUALS(ErrorCodes::OperationFailed, getStatus());