1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Fixing Linux device reset.

_is_ready was being set to False before invoking execute("reboot")
causing a device not ready error.
This commit is contained in:
Sergei Trofimov 2015-04-07 09:06:55 +01:00
parent 0421b58c55
commit 7b5f5e2ed0

View File

@ -812,8 +812,8 @@ class LinuxDevice(BaseLinuxDevice):
# Power control
def reset(self):
self._is_ready = False
self.execute('reboot', as_root=True)
self._is_ready = False
def hard_reset(self):
super(LinuxDevice, self).hard_reset()