-
Notifications
You must be signed in to change notification settings - Fork 14
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
Flaky test_geo* #39
Comments
These are the tests that have been reported as failing:
here is the full build log: https://koji.fedoraproject.org/koji/taskinfo?taskID=120194663 The error happens on s390x, it may be impossible to reproduce on other architectures. |
would testing on a docker image as mentioned in the link below work? https://docs.gitlab.com/omnibus/development/s390x.html#vm-provisioning I should have a PR in today or tomorrow and can take a little more time to try and run on this if you believe it will effectively test. [UPDATE] I seem to be having the same test failures on my mac (m2 pro). So perhaps we don't need an s390x to verify the tests now pass |
Some tests that match
test_geo*
intests/test_commands.py
andtests/test_asyncio/test_commands.py
are not reliable.We never observed them failing in CI or locally, but I received reports that they failed in some occasions.
These tests expect exact matches between floats e.g.
valkey-py/tests/test_commands.py
Lines 3544 to 3563 in 6c95904
And this doesn't always work.
According to the reports I received, the values are usually off by ~1e-15
Floats should be compared using math.isclose. The default tolerance should be enough.
The text was updated successfully, but these errors were encountered: