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

Unified Diff: server/hosts/chromiumos_host.py

Issue 6480053: Revert stateful_change=clean and timeout=120. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 10 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/common_lib/cros/autoupdater.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/hosts/chromiumos_host.py
diff --git a/server/hosts/chromiumos_host.py b/server/hosts/chromiumos_host.py
index 83b5f7912617871f11f76386ae6058d0ada99643..183eb2a1cb50ecfb136009494fce7ea2a6103312 100644
--- a/server/hosts/chromiumos_host.py
+++ b/server/hosts/chromiumos_host.py
@@ -36,6 +36,11 @@ class ChromiumOSHost(base_classes.Host):
update_url=update_url)
updater.run_update()
# Updater has returned, successfully, reboot the host.
- self.reboot(timeout=120, wait=True)
+ self.reboot(timeout=60, wait=True)
# Following the reboot, verify the correct version.
updater.check_version()
+
+ # Clean up any old autotest directories which may be lying around.
+ for path in global_config.global_config.get_config_value(
+ 'AUTOSERV', 'client_autodir_paths', type=list):
+ self.run('rm -rf ' + path)
« no previous file with comments | « client/common_lib/cros/autoupdater.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698