kopia lustrzana https://github.com/espressif/esp-idf
add time delay after create tcp server on PC
rodzic
109faee736
commit
0ff5b1f8e8
|
@ -301,6 +301,7 @@ class IperfTestUtility(object):
|
|||
process = subprocess.Popen(['iperf', '-s', '-B', self.pc_nic_ip,
|
||||
'-t', str(TEST_TIME), '-i', '1', '-f', 'm'],
|
||||
stdout=f, stderr=f)
|
||||
time.sleep(1)
|
||||
if bw_limit > 0:
|
||||
self.dut.write('iperf -c {} -i 1 -t {} -b {}'.format(self.pc_nic_ip, TEST_TIME, bw_limit))
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue