Commit 479c03a6 authored by tonyg@chromium.org's avatar tonyg@chromium.org

Treat sharded perf test timeouts as failures.

Previously, we'd halt running all further shards upon a timeout. Now, we'll just
fail the one step and then continue.

BUG=392490

Review URL: https://codereview.chromium.org/378423002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282247 0039d316-1c4b-4281-b951-d872f2087c98
parent d8ca2477
......@@ -240,6 +240,9 @@ class TestRunner(base_test_runner.BaseTestRunner):
try:
exit_code, output = cmd_helper.GetCmdStatusAndOutputWithTimeout(
full_cmd, timeout, cwd=cwd, shell=True, logfile=logfile)
except cmd_helper.TimeoutError as e:
exit_code = -1
output = str(e)
finally:
if self._options.single_step:
logfile.stop()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment