Implemented full e2e testing
This commit is contained in:
@@ -144,7 +144,7 @@ def validate_scenario(s):
|
||||
if "hub_cfg" not in s or "marte_cfg" not in s:
|
||||
errs.append(f"recorder scenario {s.get('id')} missing hub_cfg/marte_cfg")
|
||||
return errs
|
||||
if kind in ("debug", "tcplogger"):
|
||||
if kind in ("debug", "tcplogger", "debug_pause_resume"):
|
||||
if not all(k in s for k in ("cfg", "cmd_port", "udp_port", "log_port")):
|
||||
errs.append(f"{kind} scenario {s.get('id')} missing cfg/cmd_port/udp_port/log_port")
|
||||
return errs
|
||||
@@ -644,7 +644,20 @@ _TCPLOGGER = [
|
||||
},
|
||||
]
|
||||
|
||||
SCENARIOS = SCENARIOS + _DIRECT + _RECORDER + _DEBUG + _TCPLOGGER
|
||||
_DEBUG_PAUSE_RESUME = [
|
||||
{
|
||||
"id": "s57_debug_pause_resume",
|
||||
"desc": "DebugService PAUSE/RESUME halts and resumes the RT loop, "
|
||||
"verified via live VALUE polling (not just command acks)",
|
||||
"kind": "debug_pause_resume",
|
||||
"cfg": "Test/E2E/suite/debug_e2e.cfg",
|
||||
"cmd_port": 8080, "udp_port": 8081, "log_port": 9090,
|
||||
"client_checks": [],
|
||||
"known_issue": None,
|
||||
},
|
||||
]
|
||||
|
||||
SCENARIOS = SCENARIOS + _DIRECT + _RECORDER + _DEBUG + _TCPLOGGER + _DEBUG_PAUSE_RESUME
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user