We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f47292e commit 23c6f42Copy full SHA for 23c6f42
tests/utils/tracked_container.py
@@ -91,6 +91,7 @@ def run_and_wait(
91
assert no_warnings == (not self.get_warnings(logs))
92
assert no_errors == (not self.get_errors(logs))
93
assert no_failure == (rv["StatusCode"] == 0)
94
+ self.remove()
95
return logs
96
97
@staticmethod
@@ -113,3 +114,4 @@ def remove(self) -> None:
113
114
LOGGER.info(f"Removing container {self.container.name} ...")
115
self.container.remove(force=True)
116
LOGGER.info(f"Container {self.container.name} removed")
117
+ self.container = None
0 commit comments