mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 07:20:44 +00:00
更新tdd适配
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
9b5cb72a3b
commit
73a967cc21
@ -17,7 +17,6 @@
|
||||
#
|
||||
|
||||
import uuid
|
||||
from dataclasses import dataclass
|
||||
|
||||
from xdevice import SuiteResult
|
||||
from xdevice import CaseResult
|
||||
@ -29,7 +28,6 @@ class StackCaseResult(CaseResult):
|
||||
parent_index = ""
|
||||
|
||||
|
||||
@dataclass
|
||||
class StackStateRecorder:
|
||||
|
||||
def __init__(self):
|
||||
|
@ -118,8 +118,8 @@ class BaseScheduler(Sub, ABC):
|
||||
|
||||
def __execute__(self, task):
|
||||
if not self._channel.is_empty():
|
||||
LOG.debug("Run command: {}".format(convert_mac(self._channel.get_last())))
|
||||
task_id = str(uuid.uuid1()).split("-")[0]
|
||||
LOG.debug("Run command: {}".format(convert_mac(self._channel.get_last())))
|
||||
run_command = self._channel.pop()
|
||||
self._channel.append((task_id, run_command, task.config.report_path))
|
||||
if self._channel.size() > self.__max_command_size__():
|
||||
|
Loading…
Reference in New Issue
Block a user