Skip to content

Commit 19ec14d

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 19ec14d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
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 if failed to
9+
start a crate instance in time.
10+
811
2017/05/18 0.19.3
912
=================
1013

src/crate/testing/layer.py

Lines changed: 1 addition & 0 deletions
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)