Increase UDP test cases retry count to 3
Change-Id: I60ee8b1e09d88ab2ef042f0fef43fce38349a532
This commit is contained in:
parent
ccc96c540a
commit
8fe5f35c76
@ -79,7 +79,7 @@ class IperfTool(PerfTool):
|
|||||||
for pkt_size in pkt_size_list:
|
for pkt_size in pkt_size_list:
|
||||||
self.instance.display('Measuring UDP Throughput (packet size=%d)...', pkt_size)
|
self.instance.display('Measuring UDP Throughput (packet size=%d)...', pkt_size)
|
||||||
# Trying a second time if needed, due to iperf bugs...
|
# Trying a second time if needed, due to iperf bugs...
|
||||||
for _ in range(2):
|
for _ in range(3):
|
||||||
res = self.run_client_dir(target_ip, mss,
|
res = self.run_client_dir(target_ip, mss,
|
||||||
bandwidth_kbps=bandwidth,
|
bandwidth_kbps=bandwidth,
|
||||||
bidirectional=False,
|
bidirectional=False,
|
||||||
@ -160,7 +160,7 @@ class IperfTool(PerfTool):
|
|||||||
# force the timeout value with 20 second extra for the command to
|
# force the timeout value with 20 second extra for the command to
|
||||||
# complete and do not collect CPU
|
# complete and do not collect CPU
|
||||||
cpu_load = None
|
cpu_load = None
|
||||||
cmd_out = self.instance.exec_command(cmd, duration_sec + 20)
|
cmd_out = self.instance.exec_command(cmd, duration_sec + 30)
|
||||||
else:
|
else:
|
||||||
(cmd_out, cpu_load) = self.instance.exec_with_cpu(cmd)
|
(cmd_out, cpu_load) = self.instance.exec_with_cpu(cmd)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user