Skip to content

Commit 1882cf0

Browse files
andyz422copybara-github
authored andcommitted
For netperf external IP tests, bind to client internal IP.
PiperOrigin-RevId: 843402750
1 parent 77cbbe6 commit 1882cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perfkitbenchmarker/linux_benchmarks/netperf_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def RunClientServerVMs(client_vm, server_vm):
765765
netperf_benchmark,
766766
[server_vm.ip_address],
767767
num_streams,
768-
[client_vm.ip_address],
768+
[client_vm.GetInternalIPs()[0]],
769769
)
770770
for external_ip_result in external_ip_results:
771771
external_ip_result.metadata['ip_type'] = (

0 commit comments

Comments
 (0)