summaryrefslogtreecommitdiff
path: root/jstests/sharding/migration_failure.js
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2016-02-18 16:10:30 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2016-02-24 17:16:00 -0500
commitff296b3279257d2ff8e53ee90eb0f6a6f5c562f4 (patch)
tree6d8b00f6b357343b3a45ddf3bf14bd79494f1c55 /jstests/sharding/migration_failure.js
parent241bcd889e3b5923e96844eebd380f044737a5ff (diff)
downloadmongo-ff296b3279257d2ff8e53ee90eb0f6a6f5c562f4.tar.gz
SERVER-22590 improve applyChunkOpsDeprecated to check for false failures in chunk operations
Diffstat (limited to 'jstests/sharding/migration_failure.js')
-rw-r--r--jstests/sharding/migration_failure.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/migration_failure.js b/jstests/sharding/migration_failure.js
index 009143df9c1..0b9c950908b 100644
--- a/jstests/sharding/migration_failure.js
+++ b/jstests/sharding/migration_failure.js
@@ -59,7 +59,7 @@ assert.commandWorked(
assert.commandWorked(
st.shard0.getDB("admin").runCommand({
- configureFailPoint : 'failMigrationApplyOps', mode : 'alwaysOn' }));
+ configureFailPoint : 'failApplyChunkOps', mode : 'alwaysOn' }));
version = st.shard0.getDB("admin").runCommand({ getShardVersion : coll.toString() });
@@ -73,7 +73,7 @@ assert.neq(version.global, failVersion.global);
assert.commandWorked(
st.shard0.getDB("admin").runCommand({
- configureFailPoint : 'failMigrationApplyOps', mode : 'off' }));
+ configureFailPoint : 'failApplyChunkOps', mode : 'off' }));
jsTest.log( "DONE!" );