Open zhaoyao91 opened 6 years ago
This close
is called, but the Promise is not returned:
I think it is the problem, right?
yeah, this is one reason. there is some tricky point for mongo client.close, you should pass true to it to force close, otherwise it will hang there.
When I stop the broker, the mongodb adapter was not stopped correctly, so although the test run successfully, it doesn't exit. I have to add the workaround code to my service: