Skip to content

chore: improve test_timeout robustness #1800

chore: improve test_timeout robustness

chore: improve test_timeout robustness #1800

Triggered via pull request January 22, 2025 11:46
@romangeromange
synchronize #4494
Pr1
Status Success
Total duration 17m 28s
Artifacts 2

test-fakeredis.yml

on: pull_request
Publish HTML Test Results to GitHub Pages
0s
Publish HTML Test Results to GitHub Pages
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Run tests:
Process completed with exit code 1.
TestList.test: TestList#L1
AssertionError: Expected exception One or more scores can't be converted into double not raised Falsifying example: state = Machine() state.init_attrs(attrs={'keys': [b'', b'\x00'], 'fields': [b'', b'\x00'], 'values': [b'', b'\x00'], 'scores': [0.0, inf]}) state.init_data(commands=[functools.partial(test.test_hypothesis.base.Command)('rpush', b'', [b'\x00'])]) state.one_command(command=functools.partial(test.test_hypothesis.base.Command)( 'sort', b'', None, None, None, )) state.teardown() Explanation: These lines were always and only run by failing examples: /__w/dragonfly/dragonfly/tests/fakeredis/test/test_hypothesis/base.py:280 /github/home/.cache/pypoetry/virtualenvs/dragonfly-fakeredis-tests-hb2kjOpH-py3.10/lib/python3.10/site-packages/fakeredis/_commands.py:270 You can reproduce this example by temporarily adding @reproduce_failure('6.123.2', b'AXicY2BgZGBkZGBAUCAWhAEHIPb/DwwoImDVQJofRAEAOkQCDg==') as a decorator on your test case
test_pubsub_commands.test_pubsub_channels[StrictRedis]: tests/fakeredis/test/test_mixins/test_pubsub_commands.py#L369
AssertionError: assert set() == {b'bar', b'ba...foo', b'test'} Extra items in the right set: b'test' b'foo' b'baz' b'bar' Full diff: + set() - { - b'bar', - b'baz', - b'foo', - b'test', - }
Run tests:
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
report-tests.html
380 KB
tests-result-logs
29.4 KB