diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2019-10-14 17:36:09 -0700 |
---|---|---|
committer | Zhizhou Yang <zhizhouy@google.com> | 2019-10-15 22:48:08 +0000 |
commit | bf7ee87429d2c9730349ebc22f904b5a3fac7107 (patch) | |
tree | afe85d6bc0535e2d376f6d9be615beffdaed223c /crosperf/experiment_runner.py | |
parent | ea5fbd9e6c99d18e002cec6e86bfb889d0820370 (diff) | |
download | toolchain-utils-bf7ee87429d2c9730349ebc22f904b5a3fac7107.tar.gz |
toolchain-utils: change naming related to AFE lock
After introducing the new locking mechanism, the behavior of
AFELockManager totally changed. This file changed the naming of all
related code in toochain-utils.
This patch also changed the behavior of locks_dir option, deprecated the
use_file_lock option explicitly.
TEST=Tested with different DUT types.
BUG=chromium:1006434
Change-Id: Ib15efce54ec4d4c5c2a18fecca3f350248462035
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1863530
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Reviewed-by: Denis Nikitin <denik@chromium.org>
Commit-Queue: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Diffstat (limited to 'crosperf/experiment_runner.py')
-rw-r--r-- | crosperf/experiment_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crosperf/experiment_runner.py b/crosperf/experiment_runner.py index 1bca6b8c..1e2c3142 100644 --- a/crosperf/experiment_runner.py +++ b/crosperf/experiment_runner.py @@ -11,7 +11,7 @@ import os import shutil import time -import afe_lock_machine +import lock_machine import test_flag from cros_utils import command_executer @@ -129,7 +129,7 @@ class ExperimentRunner(object): self.locked_machines = self._GetMachineList() experiment.locked_machines = self.locked_machines else: - experiment.lock_mgr = afe_lock_machine.AFELockManager( + experiment.lock_mgr = lock_machine.LockManager( self._GetMachineList(), '', experiment.labels[0].chromeos_root, |