Kill off hanging crashtests.

This commit is contained in:
Josh Matthews 2020-02-01 01:28:51 +01:00
parent 4edd1590f4
commit 44a2953e84
2 changed files with 3 additions and 1 deletions

View file

@ -767763,7 +767763,7 @@
"support"
],
"tools/wptrunner/wptrunner/executors/executorservo.py": [
"8f8e120e66da6403f256f99f279f1f5dc8008272",
"4816c3df06e87f8e85301918c341bbff97817777",
"support"
],
"tools/wptrunner/wptrunner/executors/executorservodriver.py": [

View file

@ -332,6 +332,8 @@ class ServoCrashtestExecutor(ProcessTestExecutor):
self.test = test
success, data = ServoTimedRunner(self.logger, self.do_crashtest, self.protocol,
test_url, timeout, self.extra_timeout).run()
# Ensure that no processes hang around if they timeout.
self.proc.kill()
if success:
return self.convert_result(test, data)