| 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)
|
|
|