-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
28
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.