mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +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{{
|
||||
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