diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2015-12-21 10:44:43 -0500 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2015-12-21 10:45:38 -0500 |
commit | df25ea8ff2dd2fdc94b5f4cd39b15606aee1dd3b (patch) | |
tree | 210dc33ca77f234a9107ef7367f2191ec4e1fc34 /jstests/concurrency/fsm_libs | |
parent | 2e153f35f45e284d066210792b7b231b033baaa8 (diff) | |
download | mongo-df25ea8ff2dd2fdc94b5f4cd39b15606aee1dd3b.tar.gz |
SERVER-21893 Fix dbHash result check for number of collections.
Diffstat (limited to 'jstests/concurrency/fsm_libs')
-rw-r--r-- | jstests/concurrency/fsm_libs/cluster.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_libs/cluster.js b/jstests/concurrency/fsm_libs/cluster.js index 6e6738e0dc0..29d29a5aa4b 100644 --- a/jstests/concurrency/fsm_libs/cluster.js +++ b/jstests/concurrency/fsm_libs/cluster.js @@ -471,8 +471,8 @@ var Cluster = function(options) { hashes.slaves.forEach(function(slaveHashes) { assert.commandWorked(slaveHashes); - assert.eq(masterHashes.collections.length, - slaveHashes.collections.length, + assert.eq(Object.keys(masterHashes.collections).length, + Object.keys(slaveHashes.collections).length, message + ' dbHash number of collections in db ' + dbInfo.name + ' ' + tojson(hashes)); |