mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 12:28:44 +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:
parent
0421b58c55
commit
7b5f5e2ed0
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user