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

Fix flakey test epsilon check #12189

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Fix flakey test epsilon check #12189

merged 1 commit into from
Sep 11, 2024

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Sep 11, 2024

Description

I've been seeing some flakey failures in CI due to these tests:

image

Epsilon 12 (.000000000001) is really tiny. Being within epsilon 8 (.00000001) is still plenty of precision for this case, and should make tests more stable.

Issue number and link

N/A

Testing plan

  1. CI should pass. You can possibly re-run test or coverage workflows multiple times to confirm.

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

@ggetz
Copy link
Contributor Author

ggetz commented Sep 11, 2024

@lukemckinstry Could you please review and merge?

Copy link

Thank you for the pull request, @ggetz!

✅ We can confirm we have a CLA on file for you.

@lukemckinstry
Copy link
Contributor

looks good @ggetz 👍

@lukemckinstry lukemckinstry merged commit 165e0fb into main Sep 11, 2024
10 checks passed
@lukemckinstry lukemckinstry deleted the fix-test-epsilon branch September 11, 2024 19:15
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