Kaihao Zhao

Results 3 comments of Kaihao Zhao

Same issue, calling `disconnect()` will trigger `reconnect()` so a new socket will open, this will cause mocha (>= 3.x) unit test cannot exit properly without `--exit`

A temporary way to fix this issue is to call `self.connection.setImplOptions({reconnect: false});` before `connection.disconnect()` Then, connection will be reconnected by disconnect()'s exception

Thanks for adding this feature @ChiaoGeek this aligns perfectly with what we were planning to implement too! Looking forward to the merger! @dliubarskyi appreciate a review!