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
Sometimes we need the ability to stop a role in order to perform testing on the behaviour of other roles. For example if jd-client connects to jd-server and then jd-client goes offline, we want to test how jd-server behaves, is it still able to accept connections from new jd-client(s). the problem is that we don't have access to the async communication channels started within the roles to send a shutdown signal. I wonder if someone can think of a neat way to achieve this without doing a hell of refactor in the code..
The text was updated successfully, but these errors were encountered:
@jbesraa, this can be implemented if we add shutdown signaling to the configuration. I worked on something similar for the translator (keeping this use case in mind to allow shutdown signaling from external services). I’ll be mirroring the approach used in the jd-client. For reference, you can check out this PR for translator: #1319.
Sometimes we need the ability to stop a role in order to perform testing on the behaviour of other roles. For example if jd-client connects to jd-server and then jd-client goes offline, we want to test how jd-server behaves, is it still able to accept connections from new jd-client(s). the problem is that we don't have access to the async communication channels started within the roles to send a shutdown signal. I wonder if someone can think of a neat way to achieve this without doing a hell of refactor in the code..
The text was updated successfully, but these errors were encountered: