From bc38fb0b1fd65694019caffb306156bc192a323a Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Sun, 30 Nov 2025 00:57:26 +0700 Subject: [PATCH] fix(icmp_echo): fix incorrect test expectation logic --- examples/protocols/icmp_echo/pytest_icmp_echo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/protocols/icmp_echo/pytest_icmp_echo.py b/examples/protocols/icmp_echo/pytest_icmp_echo.py index a1a1c523b2..5eff9f616b 100644 --- a/examples/protocols/icmp_echo/pytest_icmp_echo.py +++ b/examples/protocols/icmp_echo/pytest_icmp_echo.py @@ -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')