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

Unified Diff: appengine/swarming/handlers_endpoints_test.py

Issue 2453873002: Add --output option to Swarming client and pass it through to the bot (Closed)
Patch Set: Extra help text for examples 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
« no previous file with comments | « appengine/swarming/handlers_bot_test.py ('k') | appengine/swarming/local_smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_endpoints_test.py
diff --git a/appengine/swarming/handlers_endpoints_test.py b/appengine/swarming/handlers_endpoints_test.py
index 1adc05b9847f1c1793538de163d67083645d4198..a3a29552db672539d12d431d021d57329ce5e34f 100755
--- a/appengine/swarming/handlers_endpoints_test.py
+++ b/appengine/swarming/handlers_endpoints_test.py
@@ -231,7 +231,8 @@ class TasksApiTest(BaseTest):
swarming_rpcs.StringPair(key='PATH', value='/'),
],
execution_timeout_secs=30,
- io_timeout_secs=30),
+ io_timeout_secs=30,
+ outputs=['foo','path/to/dir']),
tags=['foo:bar'],
user='joe@localhost',
pubsub_topic='projects/abc/topics/def',
@@ -269,6 +270,7 @@ class TasksApiTest(BaseTest):
u'grace_period_secs': u'30',
u'idempotent': False,
u'io_timeout_secs': u'30',
+ u'outputs': [u'foo', u'path/to/dir'],
},
u'pubsub_topic': u'projects/abc/topics/def',
u'pubsub_userdata': u'userdata',
@@ -327,7 +329,8 @@ class TasksApiTest(BaseTest):
],
execution_timeout_secs=3600,
idempotent=True,
- io_timeout_secs=1200),
+ io_timeout_secs=1200,
+ outputs=['foo', 'path/to/foobar']),
tags=['foo:bar'],
user='joe@localhost')
expected = {
@@ -359,6 +362,7 @@ class TasksApiTest(BaseTest):
u'grace_period_secs': u'30',
u'idempotent': True,
u'io_timeout_secs': u'1200',
+ u'outputs': [u'foo', u'path/to/foobar'],
},
u'service_account': u'none',
u'tags': [
@@ -504,6 +508,7 @@ class TasksApiTest(BaseTest):
u'grace_period_secs': u'30',
u'idempotent': True,
u'io_timeout_secs': u'1200',
+ u'outputs': [u'foo', u'path/to/foobar'],
},
u'service_account': u'none',
u'tags': [
@@ -544,6 +549,7 @@ class TasksApiTest(BaseTest):
u'grace_period_secs': u'30',
u'idempotent': True,
u'io_timeout_secs': u'1200',
+ u'outputs': [u'foo', u'path/to/foobar'],
},
u'service_account': u'none',
u'tags': [
@@ -1473,6 +1479,7 @@ class TaskApiTest(BaseTest):
u'grace_period_secs': u'30',
u'idempotent': False,
u'io_timeout_secs': u'1200',
+ u'outputs': [u'foo', u'path/to/foobar'],
},
u'service_account': u'none',
u'tags': [
« no previous file with comments | « appengine/swarming/handlers_bot_test.py ('k') | appengine/swarming/local_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698