mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'backport/openthread_ci_fix' into 'release/v5.1'
Openthread: add delay to ensure that the dut can receive input command(BackportV5.1) See merge request espressif/esp-idf!23486
This commit is contained in:
commit
728c1ffe59
@ -106,14 +106,12 @@ def getDataset(dut:IdfDut) -> str:
|
|||||||
|
|
||||||
|
|
||||||
def reset_thread(dut:IdfDut) -> None:
|
def reset_thread(dut:IdfDut) -> None:
|
||||||
dut.write(' ')
|
dut.expect('>')
|
||||||
dut.write('state')
|
wait(dut, 3)
|
||||||
clean_buffer(dut)
|
|
||||||
wait(dut, 1)
|
|
||||||
dut.write('factoryreset')
|
dut.write('factoryreset')
|
||||||
dut.expect('OpenThread attached to netif', timeout=20)
|
dut.expect('OpenThread attached to netif', timeout=20)
|
||||||
dut.write(' ')
|
dut.expect('>')
|
||||||
dut.write('state')
|
wait(dut, 3)
|
||||||
|
|
||||||
|
|
||||||
# get the mleid address of the thread
|
# get the mleid address of the thread
|
||||||
|
Loading…
Reference in New Issue
Block a user