diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-04-25 11:34:44 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-04-25 11:43:18 -0400 |
commit | ab2f395a6506a7bb54d913641b128d99545d2b5a (patch) | |
tree | 135cf9bcb0333f28a12eabcd21dab8a397a0efba /jstests | |
parent | b0c108dfdc788b6f5128c580917eb18006403e30 (diff) | |
download | mongo-ab2f395a6506a7bb54d913641b128d99545d2b5a.tar.gz |
SERVER-28854 Replace msgBase with msg in assertion detail
(cherry-picked from commit 23c93b7895d9c72f0e176895955dffb380f8300e)
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/concurrency/fsm_workloads/sharded_moveChunk_partitioned.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_workloads/sharded_moveChunk_partitioned.js b/jstests/concurrency/fsm_workloads/sharded_moveChunk_partitioned.js index 6348342f415..662822a84e4 100644 --- a/jstests/concurrency/fsm_workloads/sharded_moveChunk_partitioned.js +++ b/jstests/concurrency/fsm_workloads/sharded_moveChunk_partitioned.js @@ -129,7 +129,7 @@ var $config = extendWorkload($config, function($config, $super) { conn, this.partition.chunkLower, this.partition.chunkUpper); msg = 'Number of chunks in partition seen by config changed with moveChunk.\n' + msgBase; - assertWhenOwnColl.eq(numChunksBefore, numChunksAfter, msgBase); + assertWhenOwnColl.eq(numChunksBefore, numChunksAfter, msg); } } @@ -142,7 +142,7 @@ var $config = extendWorkload($config, function($config, $super) { var numDocsAfter = ChunkHelper.getNumDocs(mongos, ns, chunk.min._id, chunk.max._id); msg = 'Number of chunks in partition seen by mongos changed with moveChunk.\n' + msgBase; - assertWhenOwnColl.eq(numDocsAfter, numDocsBefore, msgBase); + assertWhenOwnColl.eq(numDocsAfter, numDocsBefore, msg); // If the moveChunk operation succeeded, verify that each mongos sees all data in the // chunk's range on only the toShard. If the operation failed, verify that each mongos |