diff options
author | Benety Goh <benety@mongodb.com> | 2017-01-21 20:20:53 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2017-01-23 12:56:10 -0500 |
commit | ae04822985f2478c7da1e6821f5fc91b484b9555 (patch) | |
tree | 1bf15c61b377f5e87d5fe4e64ab45963b6fc665c /src | |
parent | ab67716a0cee36d0860499b03344134814436844 (diff) | |
download | mongo-ae04822985f2478c7da1e6821f5fc91b484b9555.tar.gz |
SERVER-27775 fixed race in CollectionClonerTest::CollectionClonerCannotBeRestartedAfterPreviousFailure
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/repl/collection_cloner_test.cpp | 2 |
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()); |