mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'bugfix/icmp_echo_ci_ttl_fail' into 'master'
ICMP echo: example test were failing due to regex not matching TTL See merge request espressif/esp-idf!8931
This commit is contained in:
@@ -16,7 +16,7 @@ def test_examples_icmp_echo(env, extra_data):
|
||||
ip = dut.expect(re.compile(r'64 bytes from ({}) icmp_seq=1 ttl=\d+ time=\d+ ms'.format(ip_re)))[0]
|
||||
|
||||
# expect at least one more (there could be lost packets)
|
||||
dut.expect(re.compile(r'64 bytes from {} icmp_seq=[2-5] ttl=49 time='.format(ip)))
|
||||
dut.expect(re.compile(r'64 bytes from {} icmp_seq=[2-5] ttl=\d+ time='.format(ip)))
|
||||
|
||||
dut.expect(re.compile(r'5 packets transmitted, [2-5] received, \d{1,3}% packet loss'))
|
||||
dut.write('')
|
||||
|
Reference in New Issue
Block a user