Closed bergie closed 6 years ago
Kind of curious how the build hangs after all tests pass. Seeing same behavior with noflo/noflo-runtime-websocket#77
@jonnor ideas?
@bergie Mocha 4 will no longer forcefully stop the tests when done. So any nodejs thing still active will keep it hanging. Mentioned in its changelog
@jonnor ok, so the issue is that we have some MQTT/AMQP connections left hanging or somesuch?
Yes or any other deferred thing, like a setInterval. msgflo-nodejs is happy with Mocha 4 though. Probably need to check with one of the Nodejs debugging tools for this kind of problem
Here is a way to see what's hanging: https://stackoverflow.com/a/32617487/263570
Closes #207