Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_journal_client::test_journal_client_from_position_offset_to_days[7-64]
Failed

TEST RESULT

Run At
Aug 25 2021, 6:22 PM
Details
position_offset = 7, interval = 64 @pytest.mark.parametrize( "position_offset, interval", [ (0, 1), (1, 1), (2, 2), (3, 2), (4, 2), (5, 4), (6, 16), (7, 64), (8, 256), (9, 1024), (10, 4096), ], ) def test_journal_client_from_position_offset_to_days(position_offset, interval): > assert from_position_offset_to_days(position_offset) == interval E assert 1048576 == 64 E +1048576 E -64 .tox/py3/lib/python3.7/site-packages/swh/scheduler/tests/test_journal_client.py:844: AssertionError