mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-08 04:50:58 +02:00
CI: optimize example protocol test cases
This commit is contained in:
@@ -68,6 +68,7 @@ def test_examples_protocol_socket_tcpserver(env, extra_data):
|
||||
ipv6_r = r':'.join((r'[0-9a-fA-F]{4}',) * 8) # expect all 8 octets from IPv6 (assumes it's printed in the long form)
|
||||
ipv6 = dut1.expect(re.compile(r' IPv6 address: ({})'.format(ipv6_r)), timeout=30)[0]
|
||||
print('Connected with IPv4={} and IPv6={}'.format(ipv4, ipv6))
|
||||
dut1.expect('Socket listening')
|
||||
|
||||
# test IPv4
|
||||
received = tcp_client(ipv4, MESSAGE)
|
||||
|
Reference in New Issue
Block a user