mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #90486 from aojea/iperf
Fix e2e network performance test
This commit is contained in:
commit
dca3e3f6ed
@ -72,8 +72,8 @@ func networkingIPerfTest(isIPv6 bool) {
|
||||
Containers: []v1.Container{{
|
||||
Name: "iperf-server",
|
||||
Image: imageutils.GetE2EImage(imageutils.Agnhost),
|
||||
Command: []string{"/bin/sh"},
|
||||
Args: []string{
|
||||
"/bin/sh",
|
||||
"-c",
|
||||
"/usr/local/bin/iperf " + familyStr + "-s -p 8001 ",
|
||||
},
|
||||
@ -102,8 +102,8 @@ func networkingIPerfTest(isIPv6 bool) {
|
||||
{
|
||||
Name: "iperf-client",
|
||||
Image: imageutils.GetE2EImage(imageutils.Agnhost),
|
||||
Command: []string{"/bin/sh"},
|
||||
Args: []string{
|
||||
"/bin/sh",
|
||||
"-c",
|
||||
"/usr/local/bin/iperf " + familyStr + "-c service-for-" + appName + " -p 8002 --reportstyle C && sleep 5",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user