-
Notifications
You must be signed in to change notification settings - Fork 7.3k
ZOOKEEPER-3996: Fix flaky ReadOnlyModeTest.testConnectionEvents #1896
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-3996: Fix flaky ReadOnlyModeTest.testConnectionEvents #1896
Conversation
|
#1667(ZOOKEEPER-4271) proposed another approach. But it have not updated for almost one year. |
c7f8638 to
ffb31f7
Compare
ffb31f7 to
ff05cc3
Compare
The same watcher was resued across different clients. It is hard to know which event will last during verification, disconnected from old client or connected from new client. A brand new watcher solves this.
ff05cc3 to
b1073c3
Compare
|
The old test could not last 10 runs after adding After patch with |
anmolnar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
eolivelli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
Submitted and Jira resolved. Thanks @kezhuw ! |
…he#1896) The same watcher was resued across different clients. It is hard to know which event will last during verification, disconnected from old client or connected from new client. A brand new watcher solves this.
…he#1896) The same watcher was resued across different clients. It is hard to know which event will last during verification, disconnected from old client or connected from new client. A brand new watcher solves this.
The same watcher was resued across different clients. It is hard to
know which event will last during verification, disconnected from old
client or connected from new client.
A brand new watcher solves this.