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

Unified Diff: appengine/swarming/test_env_handlers.py

Issue 1910713002: swarming: add support for cipd on the server side (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: nits Created 4 years, 8 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/swarming_rpcs.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/test_env_handlers.py
diff --git a/appengine/swarming/test_env_handlers.py b/appengine/swarming/test_env_handlers.py
index 5a58b678981704b6a5faae91cd20895ea4baf873..5f2e3dc0cbbec98387770d43d3bdddf1f4d43e19 100644
--- a/appengine/swarming/test_env_handlers.py
+++ b/appengine/swarming/test_env_handlers.py
@@ -32,6 +32,9 @@ from server import large
from server import stats
+PINNED_PACKAGE_VERSION = 'deadbeefdeadbeefdeadbeefdeadbeefdeadbeef'
+
+
class AppTestBase(test_case.TestCase):
APP_DIR = test_env.APP_DIR
@@ -216,6 +219,10 @@ class AppTestBase(test_case.TestCase):
def _client_create_task(self, properties=None, **kwargs):
"""Creates an isolated command TaskRequest via the Cloud Endpoints API."""
params = {
+ 'packages': [{
+ 'package_name': 'rm',
+ 'version': PINNED_PACKAGE_VERSION,
+ }],
'dimensions': [
{'key': 'os', 'value': 'Amiga'},
{'key': 'pool', 'value': 'default'},
« no previous file with comments | « appengine/swarming/swarming_rpcs.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698