From 9626f8c7430b8bcbd2e158babd53d1c09dfc4230 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 5 Jun 2024 16:18:35 +0200 Subject: [PATCH] Prune containers to avoid conflict. --- integration-tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-tests/conftest.py b/integration-tests/conftest.py index a11bf781..b7b9bba9 100644 --- a/integration-tests/conftest.py +++ b/integration-tests/conftest.py @@ -436,6 +436,7 @@ def launcher(event_loop): container = client.containers.get(container_name) container.stop() container.wait() + client.containers.prune() except NotFound: pass @@ -488,6 +489,7 @@ def launcher(event_loop): try: container.stop() container.wait() + client.containers.prune() except NotFound: pass