summaryrefslogtreecommitdiff
path: root/jstests/replsets/initial_sync_uuid_not_found.js
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@mongodb.com>2019-10-30 17:43:41 +0000
committerevergreen <evergreen@mongodb.com>2019-10-30 17:43:41 +0000
commita5af8f0d44f1cfef576241213039ee4730b7ed57 (patch)
treee1af841d515b466eb705c0eb77782b0ad3d7baec /jstests/replsets/initial_sync_uuid_not_found.js
parentd3bb4b1cbf90ed82cb6cefbe8ffa2447e0445edc (diff)
downloadmongo-a5af8f0d44f1cfef576241213039ee4730b7ed57.tar.gz
SERVER-43274 Implement cloners using DBClient with basic functionality and unit tests.
Diffstat (limited to 'jstests/replsets/initial_sync_uuid_not_found.js')
-rw-r--r--jstests/replsets/initial_sync_uuid_not_found.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/jstests/replsets/initial_sync_uuid_not_found.js b/jstests/replsets/initial_sync_uuid_not_found.js
index f4be43c6dd0..b247f49e87f 100644
--- a/jstests/replsets/initial_sync_uuid_not_found.js
+++ b/jstests/replsets/initial_sync_uuid_not_found.js
@@ -64,7 +64,11 @@ function ResyncWithFailpoint(failpointName, failpointData) {
jsTestLog('Check consistency and shut down replica-set');
rst.checkReplicatedDataHashes();
}
-ResyncWithFailpoint('initialSyncHangBeforeCollectionClone', {namespace: primaryColl.getFullName()});
-ResyncWithFailpoint('initialSyncHangAfterListCollections', {database: primaryDB.getName()});
+ResyncWithFailpoint(
+ 'hangBeforeClonerStage',
+ {cloner: 'CollectionCloner', stage: 'count', namespace: primaryColl.getFullName()});
+ResyncWithFailpoint(
+ 'hangAfterClonerStage',
+ {cloner: 'DatabaseCloner', stage: 'listCollections', database: primaryDB.getName()});
rst.stopSet();
})();