apache / helix

Mirror of Apache Helix
Apache License 2.0
466 stars 227 forks source link

Fix unstable test testDisconnectWhenConnectionBreak #2857

Closed junkaixue closed 3 months ago

junkaixue commented 3 months ago

Issues

fixes #2852

Description

Make the thread force interrupted and check the state of thread be terminated then start the zk.

Tests

(List the names of added unit/integration tests)

(If CI test fails due to known issue, please specify the issue and test PR locally. Then copy & paste the result of "mvn test" to here.)

Changes that Break Backward Compatibility (Optional)

(Consider including all behavior changes for public methods or API. Also include these changes in merge description so that other developers are aware of these changes. This allows them to make relevant code changes in feature branches accounting for the new method/API behavior.)

Documentation (Optional)

(Link the GitHub wiki you added)

Commits

Code Quality