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

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

Issue 1140143002: [Telemetry] Remove results param in shared_state.TearDownState(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | tools/telemetry/telemetry/internal/story_runner_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/internal/story_runner.py
diff --git a/tools/telemetry/telemetry/internal/story_runner.py b/tools/telemetry/telemetry/internal/story_runner.py
index a69b888fc76a5a6e36ac786fd4d2fca13abde8b3..7ddeaff62caa057da0a5dd36ce0486ed67f4a68d 100644
--- a/tools/telemetry/telemetry/internal/story_runner.py
+++ b/tools/telemetry/telemetry/internal/story_runner.py
@@ -222,7 +222,7 @@ def Run(test, user_story_set, expectations, finder_options, results,
try:
# If TearDownState raises, do not catch the exception.
# (The Error was saved as a failure value.)
- state.TearDownState(results)
+ state.TearDownState()
finally:
# Later finally-blocks use state, so ensure it is cleared.
state = None
@@ -246,7 +246,7 @@ def Run(test, user_story_set, expectations, finder_options, results,
if state:
has_existing_exception = sys.exc_info() is not None
try:
- state.TearDownState(results)
+ state.TearDownState()
except Exception:
if not has_existing_exception:
raise
« no previous file with comments | « no previous file | tools/telemetry/telemetry/internal/story_runner_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698