Skip to content

Commit b8b9e16

Browse files
authored
Fix ITs in TeamCity (#1036)
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.
1 parent 9346ce8 commit b8b9e16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ def start(self, timeout=None):
9292

9393
def stop(self, timeout=None):
9494
from shutil import rmtree
95-
self.controller.stop()
95+
# Killing the process as waiting for it to gracefully shutdown
96+
# timed out on team city, not sure why.
97+
self.controller.stop(kill=True)
9698
rmtree(self.home)
9799

98100
def machines(self):

0 commit comments

Comments
 (0)