Skip to content

Commit

Permalink
Merge "Reduce iperf duration" into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
mnietoji authored and gerritforge-ltd committed Aug 25, 2023
2 parents c2c5bfc + 88144b3 commit 05f01dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nfv_tempest_plugin/tests/scenario/test_nfv_offload.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,16 +894,18 @@ def check_conntrack(self, srv_pair, protocol):
if protocol == 'tcp':
log = shell_utils.iperf_server(
srv_pair[0]['network']['ip_address'],
traffic_port, 84600, 'tcp',
traffic_port, 30, 'tcp',
srv_pair[0]['server']['ssh_source'])
iperf_logs.append({'server': srv_pair[0]['server']['ssh_source'],
'log_file': log})
log = shell_utils.iperf_client(
srv_pair[0]['network']['ip_address'],
traffic_port, 84600, 'tcp',
traffic_port, 30, 'tcp',
srv_pair[1]['server']['ssh_source'])
iperf_logs.append({'server': srv_pair[1]['server']['ssh_source'],
'log_file': log})
# to ensure that iperf is running and there is some traffic
time.sleep(10)
# If we are testing UDP, it is much easier to use scapy
elif protocol == 'udp':
ip_address_first_vm = srv_pair[0]['network']['ip_address']
Expand Down

0 comments on commit 05f01dd

Please sign in to comment.