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

Unified Diff: appengine/swarming/handlers_bot_test.py

Issue 2267363004: Add CIPD pin reporting to swarming. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Fix bottest Created 4 years, 4 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.py ('k') | appengine/swarming/handlers_frontend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_bot_test.py
diff --git a/appengine/swarming/handlers_bot_test.py b/appengine/swarming/handlers_bot_test.py
index 7403a2a45cb565f17bb7980708382623f6826904..2ebf47c37d7021fd34158bc44a9128304c4cb16d 100755
--- a/appengine/swarming/handlers_bot_test.py
+++ b/appengine/swarming/handlers_bot_test.py
@@ -436,6 +436,17 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'isolatedserver': u'http://localhost:1',
u'namespace': u'default-gzip',
},
+ 'cipd_pins': {
+ u'client_package': {
+ u'package_name': u'infra/tools/cipd/windows-amd64',
+ u'version': u'deadbeef'*5,
+ },
+ u'packages': [{
+ u'package_name': u'rm',
+ u'path': u'bin',
+ u'version': u'badc0fee'*5,
+ }]
+ },
'task_id': task_id,
}
response = self.post_json('/swarming/api/v1/bot/task_update', params)
@@ -464,6 +475,17 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'isolatedserver': u'http://localhost:1',
u'namespace': u'default-gzip',
},
+ 'cipd_pins': {
+ u'client_package': {
+ u'package_name': u'infra/tools/cipd/windows-amd64',
+ u'version': u'deadbeef'*5,
+ },
+ u'packages': [{
+ u'package_name': u'rm',
+ u'path': u'bin',
+ u'version': u'badc0fee'*5,
+ }]
+ },
u'server_versions': [u'v1a'],
u'started_ts': str_now,
u'state': u'COMPLETED',
« no previous file with comments | « appengine/swarming/handlers_bot.py ('k') | appengine/swarming/handlers_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698