feat: add thread ssed ci testcase scenario

This commit is contained in:
yiwenxiu
2026-08-24 10:30:05 +08:00
committed by Yi Wen Xiu
parent 7b9cc1ac79
commit 66d52739b3
2 changed files with 14 additions and 4 deletions
+2 -2
View File
@@ -1158,9 +1158,9 @@ def test_ot_ssed_device(dut: tuple[IdfDut, IdfDut]) -> None:
cli_rloc_addr = ':'.join(ocf.get_rloc_addr(leader).split(':')[:-1])
ssed_address = f'{cli_rloc_addr}:{rloc16_decode_from_leader}'
ocf.ping_and_check(dut=leader, target=ssed_address, tx_total=10, timeout=6)
ocf.ping_and_check(dut=leader, target=ssed_address, tx_total=10, timeout=6, size_range=(10, 70))
time.sleep(random.randint(5, 20))
ocf.ping_and_check(dut=leader, target=ssed_address, tx_total=10, timeout=6)
ocf.ping_and_check(dut=leader, target=ssed_address, tx_total=10, timeout=6, size_range=(100, 200))
finally:
ocf.execute_command(leader, 'factoryreset')
ocf.hardreset_dut(ssed_device)