From 04735df910a122a157fc3489142048a42c088b5e Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 10 Apr 2024 17:04:45 +0200 Subject: [PATCH] Fix ITs in TeamCity For god know what reason (couldn't reproduce locally, tried every trick in the book), boltkit shutting down Neo4j after the ITs would timeout consistently in TeamCity. Since the service is (at least currently) started and stopped for the whole test session, not per test, there's little risk in just killing it instead of gracefully shutting it down. --- tests/integration/conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 55526f18..b3d88b84 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -92,7 +92,9 @@ def start(self, timeout=None): def stop(self, timeout=None): from shutil import rmtree - self.controller.stop() + # Killing the process as waiting for it to gracefully shutdown + # timed out on team city, not sure why. + self.controller.stop(kill=True) rmtree(self.home) def machines(self):