diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-06-27 13:24:08 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-06-27 13:24:08 -0400 |
commit | 3f090b41e87f9c3a2978d6ce42a01e7ee06053c9 (patch) | |
tree | 460ae851635fd722711e2df1171977f398e0e73e | |
parent | b0b1b300f0ab17c56a0c252371b76bbd9c44f291 (diff) | |
download | mongo-3f090b41e87f9c3a2978d6ce42a01e7ee06053c9.tar.gz |
SERVER-23678 adding check that minor version updates correctly after moveChunk with remaining chunk(s)
-rw-r--r-- | jstests/sharding/migration_failure.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/migration_failure.js b/jstests/sharding/migration_failure.js index df7fbe10d12..6e4b855194e 100644 --- a/jstests/sharding/migration_failure.js +++ b/jstests/sharding/migration_failure.js @@ -65,6 +65,7 @@ assert.lt( oldVersion.t, newVersion.t, "The major value in the shard version should have increased"); + assert.eq(1, newVersion.i, "The minor value in the shard version should be 1"); // Run a migration to move off the shard's last chunk in the collection. The collection's // shardVersion will be reset. |