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

test_os.test_timerfd_initval flaky test #118550

Open
colesbury opened this issue May 3, 2024 · 0 comments
Open

test_os.test_timerfd_initval flaky test #118550

colesbury opened this issue May 3, 2024 · 0 comments
Labels
tests Tests in the Lib/test dir

Comments

@colesbury
Copy link
Contributor

Seen in "Hypothesis tests on Ubuntu" https://github.com/python/cpython/actions/runs/8932241701/job/24535768671?pr=118529

======================================================================
FAIL: test_timerfd_initval (test.test_os.TimerfdTests.test_timerfd_initval)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_os.py", line 4157, in test_timerfd_initval
    self.assertAlmostEqual(next_expiration, initial_expiration, places=self.CLOCK_RES_PLACES)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0.249496301 != 0.25 within 3 places (0.0005036989999999963 difference)
@colesbury colesbury added the tests Tests in the Lib/test dir label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
1 participant