[test] Add more logging to results-processing loop.
Bug: v8:13113 Change-Id: Ie42a654378660e4a2dc45d53d40683281e7343dd Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3879496 Reviewed-by: Alexander Schulze <alexschulze@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/main@{#83062}
This commit is contained in:
parent
a5b3c3df9b
commit
2acd2f9d44
@ -232,6 +232,7 @@ class DefaultExecutionPool(ContextPool):
|
||||
except:
|
||||
# TODO(machenbach): Handle a few known types of internal errors
|
||||
# gracefully, e.g. missing test files.
|
||||
logging.exception('Internal error in a worker process.')
|
||||
internal_error = True
|
||||
continue
|
||||
finally:
|
||||
@ -251,7 +252,7 @@ class DefaultExecutionPool(ContextPool):
|
||||
self._terminate()
|
||||
|
||||
if internal_error:
|
||||
raise Exception("Internal error in a worker process.")
|
||||
raise Exception('Internal error in a worker process.')
|
||||
|
||||
def _advance_more(self, gen):
|
||||
while self.processing_count < self.num_workers * self.BUFFER_FACTOR:
|
||||
|
Loading…
Reference in New Issue
Block a user