fix(search_family): Add options test for the FT.SEARCH command #1911
test-fakeredis.yml
on: pull_request
Run tests:
17m 35s
Publish HTML Test Results to GitHub Pages
0s
Annotations
2 errors
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
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
report-tests.html
Expired
|
380 KB |
sha256:5ff5e7f0b95d1f007a97832174b6a81bfa97cf93486d2b8f303694d90ddf31b3
|
|
tests-result-logs
Expired
|
28.9 KB |
sha256:b4a1464c86d2533f268f1ec7e07630834d7bf774188c656343cf650209a4e75e
|
|