summaryrefslogtreecommitdiffstats
path: root/testing/legion
diff options
context:
space:
mode:
authormmeade <mmeade@chromium.org>2015-02-24 12:25:51 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-24 20:26:18 +0000
commit20dcac652c8c9dd034271f44842a86559ccb7064 (patch)
tree12aa90d9181be9c40d85e1754f6fde4590ff12be /testing/legion
parent69bf75316e7ae533c0a0dccc1a56ca019aa95a1e (diff)
downloadchromium_src-20dcac652c8c9dd034271f44842a86559ccb7064.zip
chromium_src-20dcac652c8c9dd034271f44842a86559ccb7064.tar.gz
chromium_src-20dcac652c8c9dd034271f44842a86559ccb7064.tar.bz2
Changing the task dimensions to use custom pool names rather than custom os names.
BUG= Review URL: https://codereview.chromium.org/955703003 Cr-Commit-Position: refs/heads/master@{#317872}
Diffstat (limited to 'testing/legion')
-rwxr-xr-xtesting/legion/examples/hello_world/controller_test.py2
-rwxr-xr-xtesting/legion/examples/subprocess/subprocess_test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/legion/examples/hello_world/controller_test.py b/testing/legion/examples/hello_world/controller_test.py
index 8ef4faf8..37afcef 100755
--- a/testing/legion/examples/hello_world/controller_test.py
+++ b/testing/legion/examples/hello_world/controller_test.py
@@ -32,7 +32,7 @@ class ExampleTestController(test_controller.TestController):
"""Create a task object and set the proper values."""
task = self.CreateNewTask(
isolated_hash=isolated_hash,
- dimensions={'os': 'legion-linux'}, priority=200,
+ dimensions={'os': 'Ubuntu-14.04', 'pool': 'Legion'}, priority=200,
idle_timeout_secs=90, connection_timeout_secs=90,
verbosity=logging.INFO,
run_id=1)
diff --git a/testing/legion/examples/subprocess/subprocess_test.py b/testing/legion/examples/subprocess/subprocess_test.py
index 02124db..0377800 100755
--- a/testing/legion/examples/subprocess/subprocess_test.py
+++ b/testing/legion/examples/subprocess/subprocess_test.py
@@ -32,7 +32,7 @@ class ExampleTestController(test_controller.TestController):
self.task = self.CreateNewTask(
isolated_hash=args.task_hash,
- dimensions={'os': 'legion-linux'},
+ dimensions={'os': 'Ubuntu-14.04', 'pool': 'Legion'},
idle_timeout_secs=90, connection_timeout_secs=90,
verbosity=logging.DEBUG)
self.task.Create()