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

Unified Diff: dashboard/dashboard/pinpoint/models/attempt.py

Issue 3010873003: [pinpoint] Limit executions to one test run each + device sharding. (Closed)
Patch Set: Ready! Created 3 years, 3 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: dashboard/dashboard/pinpoint/models/attempt.py
diff --git a/dashboard/dashboard/pinpoint/models/attempt.py b/dashboard/dashboard/pinpoint/models/attempt.py
index a8aeaad33b849e985282ff2aeea3dd0614be72de..3fc153ff6067110e4bd436ba44e1a9e515c62fd7 100644
--- a/dashboard/dashboard/pinpoint/models/attempt.py
+++ b/dashboard/dashboard/pinpoint/models/attempt.py
@@ -73,9 +73,8 @@ class Attempt(object):
return
next_quest = self._quests[len(self._executions)]
+ arguments = {'change': self._change}
if self._executions:
- arguments = self._last_execution.result_arguments
- else:
- arguments = {'change': self._change}
+ arguments.update(self._last_execution.result_arguments)
self._executions.append(next_quest.Start(**arguments))

Powered by Google App Engine
This is Rietveld 408576698