Skip to content

Commit 6b80b85

Browse files
committed
CI: Ignore test layer timeout on tear down on Windows
1 parent 3967274 commit 6b80b85

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/crate/testing/layer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,11 @@ def start(self):
324324
def stop(self):
325325
if self.process:
326326
self.process.terminate()
327-
self.process.communicate(timeout=45)
327+
try:
328+
self.process.communicate(timeout=10)
329+
except subprocess.TimeoutExpired:
330+
# On GHA/Windows, it always runs into a timeout, even after 45 seconds.
331+
pass
328332
self.process.stdout.close()
329333
self.process = None
330334
self.conn_pool.clear()

0 commit comments

Comments
 (0)