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

ZOOKEEPER-4712: Add test case to assert request processors got shutdown in ZooKeeperServer::shutdown #1

Merged

Conversation

kezhuw
Copy link

@kezhuw kezhuw commented Sep 19, 2024

No description provided.

zooKeeperServer.startup();
zooKeeperServer.shutdown(false);
assertTrue(zooKeeperServer.getFirstProcessor().shutdown);
assertFalse(zooKeeperServer.getSyncRequestProcessor().isAlive());
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails before apache#2154.

Copy link
Owner

@jonmv jonmv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jonmv jonmv merged commit 56e959d into jonmv:jonmv/ZOOKEEPER-4541-take-2 Sep 20, 2024
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

Successfully merging this pull request may close these issues.

2 participants