diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-08 18:35:28 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-13 15:19:44 -0400 |
commit | 9fd6bc9fb1a9321447efa964b7568da740b23bcf (patch) | |
tree | b9be92ec9e9c3368a6a44f6c637617f703898b3d /jstests/libs/chunk_manipulation_util.js | |
parent | 4649ed8d47ac507d195d9fb4204f1cfa40e4e363 (diff) | |
download | mongo-9fd6bc9fb1a9321447efa964b7568da740b23bcf.tar.gz |
SERVER-24467 Move active migrations tracking to separate class
Diffstat (limited to 'jstests/libs/chunk_manipulation_util.js')
-rw-r--r-- | jstests/libs/chunk_manipulation_util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/libs/chunk_manipulation_util.js b/jstests/libs/chunk_manipulation_util.js index dcf46fe4529..c7a121266e6 100644 --- a/jstests/libs/chunk_manipulation_util.js +++ b/jstests/libs/chunk_manipulation_util.js @@ -101,8 +101,8 @@ function configureMoveChunkFailPoint(shardConnection, stepNumber, mode) { migrateStepNames.done, "incorrect stepNumber", true); - var admin = shardConnection.getDB('admin'); - admin.runCommand({configureFailPoint: 'moveChunkHangAtStep' + stepNumber, mode: mode}); + assert.commandWorked(shardConnection.adminCommand( + {configureFailPoint: 'moveChunkHangAtStep' + stepNumber, mode: mode})); } // |