mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 07:20:44 +00:00
update extension/src/xdevice_extension/_core/environment/device_monitor.py.
Signed-off-by: <hejian3@huawei.com>
This commit is contained in:
parent
3c0d3ae02e
commit
641d0beaaf
@ -86,7 +86,7 @@ class DeviceStateMonitor(object):
|
||||
while int(time.time()*1000) - start_time < wait_time:
|
||||
try:
|
||||
result = self.device.get_recover_result(retry=0)
|
||||
if result == "1":
|
||||
if result == "ohos":
|
||||
return True
|
||||
except Exception as exception:
|
||||
self.device.log.error("wait for boot complete exception: %s"
|
||||
|
Loading…
Reference in New Issue
Block a user