We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3967274 commit 6b80b85Copy full SHA for 6b80b85
src/crate/testing/layer.py
@@ -324,7 +324,11 @@ def start(self):
324
def stop(self):
325
if self.process:
326
self.process.terminate()
327
- self.process.communicate(timeout=45)
+ 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
332
self.process.stdout.close()
333
self.process = None
334
self.conn_pool.clear()
0 commit comments