summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/libs/override_methods/validate_collections_on_shutdown.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/libs/override_methods/validate_collections_on_shutdown.js b/jstests/libs/override_methods/validate_collections_on_shutdown.js
index a2dafb1560d..939aa809c0d 100644
--- a/jstests/libs/override_methods/validate_collections_on_shutdown.js
+++ b/jstests/libs/override_methods/validate_collections_on_shutdown.js
@@ -69,7 +69,8 @@ MongoRunner.validateCollectionsCallback = function(port) {
[
ErrorCodes.NotMaster,
ErrorCodes.NotYetInitialized,
- ErrorCodes.Unauthorized
+ ErrorCodes.Unauthorized,
+ ErrorCodes.ConflictingOperationInProgress
]);
const res = conn.adminCommand({replSetFreeze: kFreezeTimeSecs});
assert.commandWorkedOrFailedWithCode(res, [