Commit e970f283 authored by navabi's avatar navabi Committed by Commit bot

Move setting date after reboot.

BUG=406848

Review URL: https://codereview.chromium.org/673863002

Cr-Commit-Position: refs/heads/master@{#300970}
parent 284a11b8
......@@ -190,11 +190,11 @@ def ProvisionDevice(device, options, is_perf):
battery_info.get('level', 0))
time.sleep(60)
battery_info = device.old_interface.GetBatteryInfo()
# TODO(jbudorick): Tune the timeout per OS version.
device.Reboot(True, timeout=600, retries=0)
device.RunShellCommand('date -s %s' % time.strftime('%Y%m%d.%H%M%S',
time.gmtime()),
as_root=True)
# TODO(jbudorick): Tune the timeout per OS version.
device.Reboot(True, timeout=600, retries=0)
props = device.RunShellCommand('getprop')
for prop in props:
logging.info(' %s' % prop)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment