aboutsummaryrefslogtreecommitdiff
path: root/afe_lock_machine.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2015-06-12 15:14:09 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-13 01:25:07 +0000
commitd1172b4df650c89b6fef7719db8225c31a4eba0e (patch)
tree303e0701adc665ef83844cc903d31f034ac9b087 /afe_lock_machine.py
parentaa700b0a78b10b709b990bcb535bc5588ebb2bb4 (diff)
downloadtoolchain-utils-d1172b4df650c89b6fef7719db8225c31a4eba0e.tar.gz
Minor fixes to make AFE server mechanism work for role account.
BUG=None TEST=Tested in role account on chrotomation2.mtv. Change-Id: I97661c14427989b084c5394a040e1055c47d90a9 Reviewed-on: https://chrome-internal-review.googlesource.com/219042 Reviewed-by: Han Shen <shenhan@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'afe_lock_machine.py')
-rwxr-xr-xafe_lock_machine.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/afe_lock_machine.py b/afe_lock_machine.py
index 128ee8ed..54219cd4 100755
--- a/afe_lock_machine.py
+++ b/afe_lock_machine.py
@@ -108,6 +108,7 @@ class AFELockManager(object):
autotest_path = os.path.join(chromeos_root,
'src/third_party/autotest/files')
+ sys.path.append(chromeos_root)
sys.path.append(autotest_path)
sys.path.append(os.path.join(autotest_path, 'server', 'cros'))
@@ -121,7 +122,8 @@ class AFELockManager(object):
self.afe = frontend_wrappers.RetryingAFE(timeout_min=30,
delay_sec=10,
- debug=False)
+ debug=False,
+ server='cautotest')
if not local:
self.local_afe = None
else: