Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

"Cannot connect to host" when opening a aiohttp.ClientSession() right after closing one #91

@albertna

Description

@albertna

With how the unit tests are currently written, running tests like tests/api_components/test_recording.py::test_get_scenevideo_url:
image

results in a failure:
image

However, if I sleep between the two lines that both make calls to aiohttp.ClientSession():
image

The test would pass. Is this a hardware limitation where a g3 device is down for a short while after closing a HTTP client session?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions