From 53b3aceed518152fbbe3255432b29608cecc2808 Mon Sep 17 00:00:00 2001 From: Kuba Mazurek Date: Mon, 27 Sep 2021 17:05:48 +0200 Subject: [PATCH] Stop Docker container when stopping a Probe (#549) --- goth/runner/probe/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/goth/runner/probe/__init__.py b/goth/runner/probe/__init__.py index d4e34047..7ae08336 100644 --- a/goth/runner/probe/__init__.py +++ b/goth/runner/probe/__init__.py @@ -207,6 +207,7 @@ async def stop(self): await agent.stop() if self.container.logs: await self.container.logs.stop() + self.container.stop() def remove(self) -> None: """Remove the underlying container."""