From 250db2464d6ef2aea5f6d43bbbce20312e88d6a5 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 3637c134be1..a56f2b649a3 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('ping -I {} {} -c 5'.format(interface_nr, ipv6))