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