Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: telemetry/telemetry/internal/story_runner.py

Issue 2453073002: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor (Closed)
Patch Set: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: telemetry/telemetry/internal/story_runner.py
diff --git a/telemetry/telemetry/internal/story_runner.py b/telemetry/telemetry/internal/story_runner.py
index 590ccd7c9de8e68fa91b752def4181ab854303cc..84e01a387e9972b41485cefc8d07980fc3f532af 100644
--- a/telemetry/telemetry/internal/story_runner.py
+++ b/telemetry/telemetry/internal/story_runner.py
@@ -8,6 +8,7 @@ import os
import sys
import time
+import py_utils
from py_utils import cloud_storage # pylint: disable=import-error
from telemetry.core import exceptions
@@ -87,7 +88,8 @@ def _RunStoryAndProcessErrorIfNeeded(story, results, state, test):
if isinstance(test, story_test.StoryTest):
test.Measure(state.platform, results)
except (legacy_page_test.Failure, exceptions.TimeoutException,
- exceptions.LoginException, exceptions.ProfilingException):
+ exceptions.LoginException, exceptions.ProfilingException,
+ py_utils.TimeoutException):
ProcessError()
except exceptions.Error:
ProcessError()

Powered by Google App Engine
This is Rietveld 408576698