Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Fully Compatible
-
TIG E (01/08/16)
Description
max.hirschhorn noticed that the fix for SERVER-21768 incorrectly checks .length fields on objects. For example, in this change, .length is now being called on a 'collections' object.
assert.eq(masterHashes.collections.length,
|
- slaveHashes.numCollections,
|
+ slaveHashes.collections.length,
|
We should fix the tests to compare Object.keys() counts instead.
Attachments
Issue Links
- is related to
-
SERVER-21768 Remove the 'numCollections' field from dbHash's response
-
- Closed
-