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

Fixes random failures in bucket notification tests #693

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

ebozduman
Copy link
Collaborator

Fixes #691

Sometimes the event is created so fast even before the subscriber is ready to capture the event, hence random failures. So, adding delay and sleep in the right places in the tests resolved the issue for almost always, although theoretically there is always a very low but still a chance to see this problem.

@ebozduman
Copy link
Collaborator Author

Build functional test still fails on windows environment.
It is kind of surprising still seeing the failure as I ran the same set of bucket notification tests (3 of them) back to back 100 times on a VM Windows 2019 server and I did not see a single failure.
I am still looking into it.

@ebozduman
Copy link
Collaborator Author

@harshavardhana

This fix is needed for PR #692 and PR #694. Their build tests fail with the same reason.

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.

Sometimes event notifications are missed during git workflow func test runs.
2 participants