Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
43
Description
Test has two variable definitions which are interdependent and in the wrong order:
const chunksInfo = |
coll.getDB().getSiblingDB("config").chunks.find({uuid: collInfo.uuid}).toArray(); |
const collInfo = |
coll.getDB().getSiblingDB("config").collections.findOne({_id: coll.getFullName()}); |
The first one depends on collInfo which is not defined yet. The order of the two stmts needs to be swapped.