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

Fixed 8 Flaky tests in the module extensions/throwingproviders #1768

Conversation

harshith2000
Copy link

@harshith2000 harshith2000 commented Oct 17, 2023

This PR fixes the issue #1767

Fix:
Since the order of the methods or error messages is not guaranteed, it is important to consider all possible orders. Fortunately, only two possible orders are possible for both methods and error messages. By checking if the actual message is equal to any of the orders, we can fix the flakiness.

@harshith2000 harshith2000 force-pushed the fix-flaky-tests-checkedprovidertest branch from dc1c349 to 6b38d7d Compare November 24, 2023 22:49
@sameb
Copy link
Member

sameb commented Dec 7, 2023

these tests aren't flaky in practice, and there's no need to change the tests based on theoretical behaviors.

@harshith2000
Copy link
Author

harshith2000 commented Dec 7, 2023

these tests aren't flaky in practice, and there's no need to change the tests based on theoretical behaviors.

Thank you for the feedback.

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