mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 07:20:44 +00:00
修复retry异常以及lite设备异常的bug
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
43e70ddac3
commit
02cd2cded7
@ -322,7 +322,7 @@ class Scheduler(object):
|
||||
test_labels = []
|
||||
for serial, device in used_devices.items():
|
||||
serials.append(convert_serial(serial))
|
||||
platform = str(device.test_platform)
|
||||
platform = str(device.label).capitalize()
|
||||
test_label = str(device.label).capitalize()
|
||||
if platform not in platforms:
|
||||
platforms.append(platform)
|
||||
|
@ -785,13 +785,7 @@ class ResultReporter(IReporter):
|
||||
return
|
||||
_, command, report_path = Scheduler.command_queue[-1]
|
||||
|
||||
record_info = {
|
||||
"command": command,
|
||||
"session_id": os.path.split(report_path)[-1],
|
||||
"report_path": report_path,
|
||||
"unsuccessful_params": self.record_params,
|
||||
"data_reports": self.record_reports
|
||||
}
|
||||
record_info = self._parse_record_from_data(command, report_path)
|
||||
|
||||
def encode(content):
|
||||
# inner function to encode
|
||||
|
Loading…
Reference in New Issue
Block a user