Skip to content

Commit

Permalink
Fix e2e network performance test
Browse files Browse the repository at this point in the history
  • Loading branch information
aojea committed Apr 27, 2020
1 parent 8b0a7de commit 2c2e9cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/e2e/network/networking_perf.go
Expand Up @@ -70,10 +70,10 @@ func networkingIPerfTest(isIPv6 bool) {
func(n v1.Node) v1.PodSpec {
return v1.PodSpec{
Containers: []v1.Container{{
Name: "iperf-server",
Image: imageutils.GetE2EImage(imageutils.Agnhost),
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 ",
},
Expand All @@ -100,10 +100,10 @@ func networkingIPerfTest(isIPv6 bool) {
return v1.PodSpec{
Containers: []v1.Container{
{
Name: "iperf-client",
Image: imageutils.GetE2EImage(imageutils.Agnhost),
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",
},
Expand Down

0 comments on commit 2c2e9cd

Please sign in to comment.