You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a distributed application and use it through mocha tests
Expected behavior
The process should close at the end of the tests
Actual behavior
The process does not close due to connections that are still open, ie service publisher/subscriber on the app. This is not really annoying when launching a long-lived server but it is for running tests.
There can also be timeouts running linked to publicationDelay and coteDelay.
It seems that cote components exhibits a close() method that should be called to clean up. We could also keep track of the timeout objects to cancel it. Should we provide a global colseDistribution() at app level or provide individual functions to clear app/service-level timeouts/components ?
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 0.7
NodeJS version: 8.16
Operating System: Windows
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Create a distributed application and use it through mocha tests
Expected behavior
The process should close at the end of the tests
Actual behavior
The process does not close due to connections that are still open, ie service publisher/subscriber on the app. This is not really annoying when launching a long-lived server but it is for running tests.
There can also be timeouts running linked to
publicationDelay
andcoteDelay
.It seems that cote components exhibits a
close()
method that should be called to clean up. We could also keep track of the timeout objects to cancel it. Should we provide a globalcolseDistribution()
at app level or provide individual functions to clear app/service-level timeouts/components ?System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 0.7
NodeJS version: 8.16
Operating System: Windows
The text was updated successfully, but these errors were encountered: