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

Unified Diff: appengine/cr-buildbucket/swarming/test/swarming_test.py

Issue 2160913003: swarmbucket: fix empty dimension value (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: add swarmbucketbuilders test Created 4 years, 5 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: appengine/cr-buildbucket/swarming/test/swarming_test.py
diff --git a/appengine/cr-buildbucket/swarming/test/swarming_test.py b/appengine/cr-buildbucket/swarming/test/swarming_test.py
index 8a0dff2001a466350638fea011c1d7cb9fdd970d..8af8fd66b953dcc3dfa5f5f7d4ea4835dbddac75 100755
--- a/appengine/cr-buildbucket/swarming/test/swarming_test.py
+++ b/appengine/cr-buildbucket/swarming/test/swarming_test.py
@@ -40,7 +40,7 @@ class SwarmingTest(testing.AppengineTestCase):
hostname='chromium-swarm.appspot.com',
url_format='https://example.com/{swarming_hostname}/{task_id}',
common_swarming_tags=['commontag:yes'],
- common_dimensions=['cores:8', 'pool:default'],
+ common_dimensions=['cores:8', 'pool:default', 'cpu:x86-64'],
common_recipe=project_config_pb2.Swarming.Recipe(
repository='https://example.com/repo',
name='recipe',
@@ -49,7 +49,7 @@ class SwarmingTest(testing.AppengineTestCase):
project_config_pb2.Swarming.Builder(
name='builder',
swarming_tags=['buildertag:yes'],
- dimensions=['os:Linux', 'pool:Chrome'],
+ dimensions=['os:Linux', 'pool:Chrome', 'cpu:'],
recipe=project_config_pb2.Swarming.Recipe(
properties=['predefined-property:x'],
properties_j=['predefined-property-bool:true'],
« no previous file with comments | « appengine/cr-buildbucket/swarming/swarmingcfg.py ('k') | appengine/cr-buildbucket/swarming/test/swarmingcfg_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698