Эх сурвалжийг харах

Merge branch 'bugfix/iperf_py_script_upt' into 'master'

ci iperf: fixed condition for waiting to iperf server is up in DUT

Closes IDFCI-1285

See merge request espressif/esp-idf!19575
Ondrej Kosta 3 жил өмнө
parent
commit
9c73c00a05

+ 2 - 2
tools/ci/python_packages/idf_iperf_test_util/IperfUtility.py

@@ -335,7 +335,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')
@@ -355,7 +355,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')