mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(icmp_echo): fix incorrect test expectation logic
This commit is contained in:
@@ -83,6 +83,8 @@ def test_protocols_icmp_echo_ipv6_only(dut: Dut) -> None:
|
||||
logging.info(f'Connected AP with IPv6={ipv6}')
|
||||
interface_nr = dut.expect(r'Connected on interface: [a-z]{2}\d \((\d+)\)', timeout=30)[1].decode()
|
||||
|
||||
dut.expect_exact('esp>')
|
||||
|
||||
# ping our own address to simplify things
|
||||
dut.write(f'ping -I {interface_nr} {ipv6} -c 5')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user