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

Unified Diff: appengine/swarming/server/task_result_test.py

Issue 2926713004: Add support for repeated keys in TaskRequest. (Closed)
Patch Set: rebase Created 3 years, 6 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 | « appengine/swarming/server/task_request_test.py ('k') | appengine/swarming/server/task_scheduler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/server/task_result_test.py
diff --git a/appengine/swarming/server/task_result_test.py b/appengine/swarming/server/task_result_test.py
index a1c476adb0b0bcb886d82a3c45c3db71a346bcd8..77c80da2b22ffad4da8bc00d900393c525315df2 100755
--- a/appengine/swarming/server/task_result_test.py
+++ b/appengine/swarming/server/task_result_test.py
@@ -35,13 +35,12 @@ def _gen_request(properties=None, **kwargs):
"""Creates a TaskRequest."""
props = {
'command': [u'command1'],
- 'dimensions': {u'pool': u'default'},
+ 'dimensions_flat': [u'pool:default'],
'env': {},
'execution_timeout_secs': 24*60*60,
'io_timeout_secs': None,
}
props.update(properties or {})
- props['dimensions_dict'] = props.pop('dimensions')
now = utils.utcnow()
args = {
'created_ts': now,
« no previous file with comments | « appengine/swarming/server/task_request_test.py ('k') | appengine/swarming/server/task_scheduler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698