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: LocationTest.shouldGenerateNearbyGPSCoordinateWithOriginInMiles not accounting for precision tolerance #1039

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

dj-riff
Copy link
Contributor

@dj-riff dj-riff commented Jan 23, 2025

LocationTest.shouldGenerateNearbyGPSCoordinateWithOriginInMiles was failing intermittently between 1,000 <= 10,000 tests due to minor floating-point inaccuracies.

resolves #1030

Verification

Ran and passed 5,000,000 tests just to be sure.

@cieslarmichal cieslarmichal merged commit 7b61883 into cieslarmichal:main Jan 23, 2025
10 checks passed
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.

Fix flaky test: LocationTest.shouldGenerateNearbyGPSCoordinateWithOriginInMiles
2 participants