mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +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
|
# Power control
|
||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
self._is_ready = False
|
|
||||||
self.execute('reboot', as_root=True)
|
self.execute('reboot', as_root=True)
|
||||||
|
self._is_ready = False
|
||||||
|
|
||||||
def hard_reset(self):
|
def hard_reset(self):
|
||||||
super(LinuxDevice, self).hard_reset()
|
super(LinuxDevice, self).hard_reset()
|
||||||
|
Reference in New Issue
Block a user