charmed-kubernetes / pytest-operator

Apache License 2.0
7 stars 13 forks source link

ConnectionClosed error on ops_test cleanup #71

Closed PietroPasotti closed 2 years ago

PietroPasotti commented 2 years ago

In a charm I'm developing, my itests are failing because of an uncaught websockets.exceptions.ConnectionClosed error. I tried figuring out what was going on but had little luck. It looks like something goes wrong when trying to destroy the test model in ops_test._cleanup_models().

Attaching a full debug log. $ tox -vve integration > itest_logs.txt

itest_logs.txt

addyess commented 2 years ago

Closing as a duplicate of https://github.com/charmed-kubernetes/pytest-operator/issues/72