mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 10:52:33 +01: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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user