Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: client/cros/login.py

Issue 6880288: [autotest] Add test for the re-taking of ownership after the owner key is lost (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: improve comment Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/cros/cros_ui_test.py ('k') | client/cros/mock_owner.preferences » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cros/login.py
diff --git a/client/cros/login.py b/client/cros/login.py
index 813992950f6bc829f0906fde6f0271b67e13fbea..92db94c3f4fda9f0d14fb8e331dd278425f352e7 100644
--- a/client/cros/login.py
+++ b/client/cros/login.py
@@ -10,7 +10,6 @@ from autotest_lib.client.common_lib import error
_DEFAULT_TIMEOUT = 30
-_DEFAULT_OWNERSHIP_TIMEOUT = 300 # Ownership is an inherently random process.
# Log messages used to signal when we're in a logout situation. Used to detect
# crashes by cros_ui_test.UITest.
@@ -316,7 +315,7 @@ def wait_for_initial_chrome_window(timeout=_DEFAULT_TIMEOUT):
crash_msg='Chrome crashed before first tab rendered.')
-def wait_for_ownership(timeout=_DEFAULT_OWNERSHIP_TIMEOUT):
+def wait_for_ownership(timeout=constants.DEFAULT_OWNERSHIP_TIMEOUT):
log_reader = cros_logging.LogReader()
log_reader.set_start_by_current()
wait_for_condition(
« no previous file with comments | « client/cros/cros_ui_test.py ('k') | client/cros/mock_owner.preferences » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698