提交 fe558d90 编写于 作者: J jiyong_sd

modified xdevice

Signed-off-by: Njiyong_sd <jiyong@huawei.com>
Change-Id: I1bd5d156e43677d2f34a908c16311f7931d3455d
上级 5be404bf
......@@ -1641,9 +1641,9 @@ class JSUnitTestDriver(IDriver):
def read_device_log(self, device_log_file, timeout=60):
LOG.info("The timeout is {} seconds".format(timeout))
result_message = ""
while time.time() - self.start_time <= timeout:
result_message = ""
with open(device_log_file, "r", encoding='utf-8',
errors='ignore') as file_read_pipe:
while True:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册