Skip to content
This repository has been 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

Open
albertna opened this issue Jul 19, 2023 · 0 comments

Comments

@albertna
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant