-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 3.5.4
-
Component/s: None
-
None
-
Environment:Unified Topology
The test:
functional/operation_example/shouldCorrectlyOpenASimpleDbSingleServerConnection
fails when the done callback is called from a close event handler rather than being passed as a callback i.e. client.close(done), as done gets called twice.
This only occurs when MONGODB_UNIFIED_TOPOLOGY=1.