Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nettosphere multi server for unit test #125

Closed
fstn opened this issue Mar 3, 2017 · 0 comments
Closed

Nettosphere multi server for unit test #125

fstn opened this issue Mar 3, 2017 · 0 comments

Comments

@fstn
Copy link

fstn commented Mar 3, 2017

For unit test purpose, I need to do this:

  • start nettosphere server 1 and 2
  • stop 2
  • restart 2

When I try to stop 2 it's also stop 1

I created server like this:
server = new Nettosphere.Builder().config(builder.build()).build();

And stop it like this:
server.stop();
I think the problem come from function stop code that do:
ALL_CHANNELS.close();

where ALL_CHANNELS is static.

Any ideas?

Thank you

@jfarcand jfarcand closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants