tmux-python/libtmux

Intermittent errors with tests on i586 (32bit)

johanneskastl opened this issue · 0 comments

When packaging this for openSUSE Tumbleweed, we get intermittent build errors due to failing tests.

Today this one errored out (using tmux-3.3a) on i586 (32bit):

[   81s] =================================== FAILURES ===================================
[   81s] ___________________ test_function_times_out_no_raise_assert ____________________
[   81s] 
[   81s]     def test_function_times_out_no_raise_assert() -> None:
[   81s]         ini = time()
[   81s]     
[   81s]         def never_true() -> bool:
[   81s]             return False
[   81s]     
[   81s]         assert not retry_until(never_true, 1, raises=False)
[   81s]     
[   81s]         end = time()
[   81s]     
[   81s] >       assert abs((end - ini) - 1.0) < 0.01
[   81s] E       assert 0.011504411697387695 < 0.01
[   81s] E        +  where 0.011504411697387695 = abs(((1679550658.3015473 - 1679550657.2900429) - 1.0))
[   81s] 
[   81s] tests/legacy_api/test_test.py:67: AssertionError
[   81s] =============================== warnings summary ===============================
[...]