Skip to content

Commit c9cf8d6

Browse files
committed
testing: fixed issue that caused the testing layer to hang after it failed to start crate in time
1 parent 9ec01a1 commit c9cf8d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.txt

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Changes for crate
55
Unreleased
66
==========
77

8+
- Testing: Fixed issue that caused the test layer to hang after it failed to
9+
start a CrateDB instance in time.
10+
811
2017/05/18 0.19.3
912
=================
1013

src/crate/testing/layer.py

+1
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ def _wait_for(self, validator):
347347
if wait_time > 30:
348348
for line in line_buf.lines:
349349
log.error(line)
350+
self.stop()
350351
raise SystemError('Failed to start Crate instance in time.')
351352
else:
352353
sys.stderr.write('.')

0 commit comments

Comments
 (0)