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

Unit test problem with class DatagramSocketConcurrentPingPongTest #108

Closed
tzaeschke opened this issue Jul 15, 2024 · 1 comment
Closed

Comments

@tzaeschke
Copy link
Collaborator

DatagramSocketConcurrentPingPongTest doesn't properly finish, instead it times out on the shutDownBarrier in PingPongHelperBase:

      if (!shutDownBarrier.await(TIMEOUT, TimeUnit.SECONDS)) {
@tzaeschke
Copy link
Collaborator Author

Analysis: Unlike what was suspected, the problem was not with the shutDownBarrier but with a constant sleep() in the server thread.

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

1 participant