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) |