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

Unified Diff: testing/legion/examples/subprocess/subprocess_test.py

Issue 943923003: Removing the isolate.py functionality and requiring tasks to be created from an archive hash rather… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a small style issue. Created 5 years, 10 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 | « testing/legion/examples/subprocess/subprocess_test.isolate ('k') | testing/legion/task_controller.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/legion/examples/subprocess/subprocess_test.py
diff --git a/testing/legion/examples/subprocess/subprocess_test.py b/testing/legion/examples/subprocess/subprocess_test.py
index 28e3fb8113ef8766c5a17be9e871a669dc4c4093..02124db810c80fd4a60b06c874b5d785e50588d7 100755
--- a/testing/legion/examples/subprocess/subprocess_test.py
+++ b/testing/legion/examples/subprocess/subprocess_test.py
@@ -9,6 +9,7 @@
import sys
sys.path.append('../../')
+import argparse
import logging
import time
import xmlrpclib
@@ -25,9 +26,12 @@ class ExampleTestController(test_controller.TestController):
def SetUp(self):
"""Creates the task machine and waits until it connects."""
+ parser = argparse.ArgumentParser()
+ parser.add_argument('--task-hash')
+ args, _ = parser.parse_known_args()
+
self.task = self.CreateNewTask(
- isolate_file='task.isolate',
- config_vars={'multi_machine': '1'},
+ isolated_hash=args.task_hash,
dimensions={'os': 'legion-linux'},
idle_timeout_secs=90, connection_timeout_secs=90,
verbosity=logging.DEBUG)
« no previous file with comments | « testing/legion/examples/subprocess/subprocess_test.isolate ('k') | testing/legion/task_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698