mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/test_ethernet_throughput_basic' into 'master'
Bugfix/test ethernet throughput basic Closes IDFCI-1285 See merge request espressif/esp-idf!19497
This commit is contained in:
commit
3f41780974
@ -26,7 +26,7 @@ except ImportError:
|
||||
# Only used for type annotations
|
||||
pass
|
||||
|
||||
NO_BANDWIDTH_LIMIT = -1 # iperf send bandwith is not limited
|
||||
NO_BANDWIDTH_LIMIT = -1 # iperf send bandwidth is not limited
|
||||
|
||||
|
||||
class IperfTestUtilityEth(IperfUtility.IperfTestUtility):
|
||||
@ -50,7 +50,7 @@ class IperfTestUtilityEth(IperfUtility.IperfTestUtility):
|
||||
self.dut.write('ethernet start')
|
||||
time.sleep(10)
|
||||
self.dut.write('ethernet info')
|
||||
dut_ip = self.dut.expect(re.compile(r'ETHIP: (\d+[.]\d+[.]\d+[.]\d+)'))[0]
|
||||
dut_ip = self.dut.expect(re.compile(r'ETHIP: (\d+[.]\d+[.]\d+[.]\d+)\r'))[0]
|
||||
rssi = 0
|
||||
return dut_ip, rssi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user