commit | f759a834891a052881394cc80aaade637eb944e4 | [log] [tgz] |
---|---|---|
author | Brent Peterson <brentpeterson@google.com> | Fri Jul 31 16:47:27 2020 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Aug 01 06:12:08 2020 +0000 |
tree | d66e61bbbb6f1c28f59f80c7afbf937f3186a479 | |
parent | 2faa973a03d19a65dff0f466372b5c9ee873de20 [diff] |
FAFT: increased power state retry count for firmware_ECLidShutdown Increased POWER_STATE_CHECK_TRIES from 1 to 3 to allow for multiple tries when checking power state after closing the lid. BUG=b:159944771 TEST=Verified test passes on eve and nami devices. Change-Id: I63ade50ff391ab01f18d2d108e8b50507c0292ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2333437 Tested-by: Brent Peterson <brentpeterson@chromium.org> Reviewed-by: Philip Chen <philipchen@chromium.org> Commit-Queue: Brent Peterson <brentpeterson@chromium.org>
diff --git a/server/site_tests/firmware_ECLidShutdown/firmware_ECLidShutdown.py b/server/site_tests/firmware_ECLidShutdown/firmware_ECLidShutdown.py index b3b3667..0eb75ca 100644 --- a/server/site_tests/firmware_ECLidShutdown/firmware_ECLidShutdown.py +++ b/server/site_tests/firmware_ECLidShutdown/firmware_ECLidShutdown.py
@@ -20,7 +20,7 @@ # Delay to allow for a power state change after closing or opening the lid. # This value is determined experimentally. LID_POWER_STATE_DELAY = 5 - POWER_STATE_CHECK_TRIES = 1 + POWER_STATE_CHECK_TRIES = 3 IGNORE_LID_IN_USERSPACE_CMD = 'echo 0 > /var/lib/power_manager/use_lid' CHECK_POWER_MANAGER_CFG_DEFAULT = '[ ! -f /var/lib/power_manager/use_lid ]'