Skip to content

aiohttp test failures #1391

@cachedout

Description

@cachedout

We have started to see the following failures in the nightly tests:

Test / Python-python-3.9-0 / tests.contrib.asyncio.aiohttp_web_tests.test_http_exception_below_500[pyloop] Test / Python-python-3.8-3 / tests.contrib.asyncio.aiohttp_web_tests.test_http_exception_below_500[pyloop] Test / Python-python-3.7-3 / tests.contrib.asyncio.aiohttp_web_tests.test_http_exception_below_500[pyloop] 

An example stacktrace from a failed test looks like this:

aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f7b81ad5280> aioeapm = <elasticapm.contrib.aiohttp.ElasticAPM object at 0x7f7b81d79760> async def test_http_exception_below_500(aiohttp_client, aioeapm): app = aioeapm.app client = await aiohttp_client(app) elasticapm_client = aioeapm.client resp = await client.get("/raise/ok") > assert resp.status == 200 E assert 500 == 200 E +500 E -200 tests/contrib/asyncio/aiohttp_web_tests.py:156: AssertionError 

Possible culprit? #1384

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions