mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ci iperf: fixed condition for waiting to iperf server is up in DUT
This commit is contained in:
parent
e6fda46a02
commit
526cd8c219
@ -329,7 +329,7 @@ class IperfTestUtility(object):
|
||||
self.dut.write('iperf -s -i 1 -t {}'.format(TEST_TIME))
|
||||
# wait until DUT TCP server created
|
||||
try:
|
||||
self.dut.expect('iperf tcp server create successfully', timeout=1)
|
||||
self.dut.expect('iperf: Socket created', timeout=5)
|
||||
except DUT.ExpectTimeout:
|
||||
# compatible with old iperf example binary
|
||||
Utility.console_log('create iperf tcp server fail')
|
||||
@ -349,7 +349,7 @@ class IperfTestUtility(object):
|
||||
self.dut.write('iperf -s -u -i 1 -t {}'.format(TEST_TIME))
|
||||
# wait until DUT TCP server created
|
||||
try:
|
||||
self.dut.expect('iperf udp server create successfully', timeout=1)
|
||||
self.dut.expect('iperf: Socket bound', timeout=5)
|
||||
except DUT.ExpectTimeout:
|
||||
# compatible with old iperf example binary
|
||||
Utility.console_log('create iperf udp server fail')
|
||||
|
Loading…
x
Reference in New Issue
Block a user