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-3219: Fix flaky FileChangeWatcherTest #739

Closed
wants to merge 1 commit into from

Conversation

ivmaykov
Copy link
Contributor

Made some changes to handle the random ENTRY_CREATE events that occasionally fire even though the watcher is created after the file is already written to disk. Should make the test more stable.

@ivmaykov
Copy link
Contributor Author

@anmolnar can we merge this even though jenkins fails? It's failing with some completely unrelated error in the C test code :(

@lvfangmin
Copy link
Contributor

+1

Thanks @ivmaykov! I’ll merge it tomorrow if there is no other comments.

@anmolnar
Copy link
Contributor

retest this please

@ivmaykov
Copy link
Contributor Author

@anmolnar I have tried many times but it keeps failing with completely unrelated errors (failures in the C test code, which this commit does not touch).

@ivmaykov ivmaykov closed this Dec 19, 2018
@ivmaykov ivmaykov reopened this Dec 19, 2018
@asfgit asfgit closed this in b8c8937 Dec 20, 2018
@lvfangmin
Copy link
Contributor

Have merged into master, thanks @ivmaykov!

@anmolnar
Copy link
Contributor

@lvfangmin @ivmaykov Isn't this something we introduced as part of Quorum TLS?
In which case the fix needs to be merged to 3.5 too.

@ivmaykov
Copy link
Contributor Author

@anmolnar it was part of #737. I caught the issue after the original fix went into master, but before it was backported to 3.5, so my 3.5 backport included both commits.

RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
Made some changes to handle the random ENTRY_CREATE events that occasionally fire even though the watcher is created after the file is already written to disk. Should make the test more stable.

Author: Ilya Maykov <[email protected]>

Closes apache#739 from ivmaykov/ZOOKEEPER-3219
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.

3 participants