diff options
author | cmtice <cmtice@google.com> | 2015-05-27 16:59:37 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-10 06:17:17 +0000 |
commit | e5bc63bbed4e001b080c4ce0b18c5c78900d4786 (patch) | |
tree | d9b603a7bbe68ece5ffcd5d312d73a34e48f4704 /crosperf/settings_factory.py | |
parent | 0495c7175f1160877f121872241f44386705f667 (diff) | |
download | toolchain-utils-e5bc63bbed4e001b080c4ce0b18c5c78900d4786.tar.gz |
Implement new global locking scheme for machines.
This CL implements a new machine locking mechanism using
Autotest Front End servers. When locking/unlocking a lab machine,
it uses the ChromeOS HW lab server; when locking/unlocking a local
machine, it uses a local AFE server on chrotomation2.
BUG=None
TEST=Tested the script manually to lock/unlock machines and query status.
Also tested with image_chromeos and with crosperf scripts.
Change-Id: I2793bc1f7dc056e725694e81ded656d9f49d227b
Reviewed-on: https://chrome-internal-review.googlesource.com/217560
Reviewed-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: David Sharp <dhsharp@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/settings_factory.py')
-rw-r--r-- | crosperf/settings_factory.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crosperf/settings_factory.py b/crosperf/settings_factory.py index 9def4398..6793a608 100644 --- a/crosperf/settings_factory.py +++ b/crosperf/settings_factory.py @@ -138,8 +138,7 @@ class GlobalSettings(Settings): " separated by a \",\"")) self.AddField(TextField("results_dir", default="", description="The results dir")) - default_locks_dir = lock_machine.Machine.LOCKS_DIR - self.AddField(TextField("locks_dir", default=default_locks_dir, + self.AddField(TextField("locks_dir", default="", description="An alternate directory to use for " "storing/checking machine locks.\n" "WARNING: If you use your own locks directory, " |