Skip to content

:bug: adjust look_back duration correctly by setting max value

Sign in for the full log view
GitHub Actions / JUnit Test Report Regression failed Aug 20, 2024 in 0s

1078 tests run, 1039 passed, 38 skipped, 1 failed.

Annotations

Check failure on line 1 in app/tests/e2e/verifier/test_proof_revoked_credential.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report Regression

test_proof_revoked_credential.test_regression_proof_revoked_credential[reuse-reuse-reuse-reuse-reuse-reuse]

failed on setup with "AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)"
Raw output
anyio_backend = 'asyncio', args = ()
kwargs = {'alice_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f2f38d4f650>, 'credential_definiti...9b1-4d39-8f46-4029b115e1e3'), 'faber_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f2f399357f0>}
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7f2f3ca9b7a0>

    def wrapper(*args, anyio_backend, **kwargs):  # type: ignore[no-untyped-def]
        backend_name, backend_options = extract_backend_and_options(anyio_backend)
        if has_backend_arg:
            kwargs["anyio_backend"] = anyio_backend
    
        with get_runner(backend_name, backend_options) as runner:
            if isasyncgenfunction(func):
                yield from runner.run_asyncgen_fixture(func, kwargs)
            else:
>               yield runner.run_fixture(func, kwargs)

/usr/local/lib/python3.12/site-packages/anyio/pytest_plugin.py:77: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:1987: in run_fixture
    retval = self.get_loop().run_until_complete(
/usr/local/lib/python3.12/asyncio/base_events.py:687: in run_until_complete
    return future.result()
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:1957: in _call_in_runner_task
    return await future
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:1932: in _run_tests_and_fixtures
    retval = await coro
app/tests/fixtures/credentials.py:289: in get_or_issue_regression_cred_revoked
    assert_fail_on_recreating_fixtures()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def assert_fail_on_recreating_fixtures():
        assert (
>           RegressionTestConfig.fail_on_recreating_fixtures is False
        ), "Fixture is being recreated (regression tests configured to fail on recreating)"
E       AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)

app/tests/util/regression_testing.py:34: AssertionError