mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
openthread CI: disable host join group check in openthread ci cases
This commit is contained in:
parent
b6d57a26ca
commit
6f618adf88
@ -274,14 +274,6 @@ def thread_is_joined_group(dut:IdfDut) -> bool:
|
||||
return False
|
||||
|
||||
|
||||
def host_joined_group(group:str='') -> bool:
|
||||
interface_name = get_host_interface_name()
|
||||
command = 'netstat -g | grep ' + str(interface_name)
|
||||
out_str = subprocess.getoutput(command)
|
||||
print('groups:\n', str(out_str))
|
||||
return group in str(out_str)
|
||||
|
||||
|
||||
class udp_parameter:
|
||||
|
||||
def __init__(self, udp_type:str='', addr:str='::', port:int=5090, group:str='', init_flag:bool=False, timeout:float=15.0, udp_bytes:bytes=b''):
|
||||
|
@ -73,7 +73,7 @@ default_cli_ot_para = ocf.thread_parameter('router', '', '', '', False)
|
||||
@pytest.mark.esp32h2
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.openthread_br
|
||||
@pytest.mark.flaky(reruns=0, reruns_delay=1)
|
||||
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
||||
@pytest.mark.parametrize(
|
||||
'config, count, app_path, target', [
|
||||
('rcp|cli_h2|br', 3,
|
||||
@ -141,7 +141,7 @@ def formBasicWiFiThreadNetwork(br:IdfDut, cli:IdfDut) -> None:
|
||||
@pytest.mark.esp32h2
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.openthread_br
|
||||
@pytest.mark.flaky(reruns=0, reruns_delay=1)
|
||||
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
||||
@pytest.mark.parametrize(
|
||||
'config, count, app_path, target', [
|
||||
('rcp|cli_h2|br', 3,
|
||||
@ -261,7 +261,6 @@ def test_multicast_forwarding_B(Init_interface:bool, dut: Tuple[IdfDut, IdfDut,
|
||||
while not myudp.init_flag:
|
||||
if (time.time() - start_time) > 10:
|
||||
assert False
|
||||
assert ocf.host_joined_group('ff04::125')
|
||||
for num in range(0, 3):
|
||||
command = 'udp send ff04::125 5090 hello' + str(num)
|
||||
cli.write(command)
|
||||
|
Loading…
Reference in New Issue
Block a user