Skip to content

Commit b0dfe25

Browse files
committed
remove iperf e2e test ip family tags
1 parent eb1fa66 commit b0dfe25

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

test/e2e/network/networking_perf.go

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"k8s.io/kubernetes/test/e2e/framework"
2727
e2enode "k8s.io/kubernetes/test/e2e/framework/node"
2828
e2eservice "k8s.io/kubernetes/test/e2e/framework/service"
29-
e2eskipper "k8s.io/kubernetes/test/e2e/framework/skipper"
3029
imageutils "k8s.io/kubernetes/test/utils/image"
3130
)
3231

@@ -37,8 +36,8 @@ const (
3736
smallClusterTimeout = 200 * time.Second
3837
)
3938

40-
// networkingIPerf test runs iperf on a container in either IPv4 or IPv6 mode.
41-
func networkingIPerfTest(isIPv6 bool) {
39+
// Declared as Flakey since it has not been proven to run in parallel on small nodes or slow networks in CI
40+
var _ = SIGDescribe("Networking IPerf [Experimental] [Slow] [Feature:Networking-Performance]", func() {
4241

4342
f := framework.NewDefaultFramework("network-perf")
4443

@@ -50,7 +49,7 @@ func networkingIPerfTest(isIPv6 bool) {
5049
maxBandwidthBits := gceBandwidthBitsEstimate
5150

5251
familyStr := ""
53-
if isIPv6 {
52+
if framework.TestContext.ClusterIsIPv6() {
5453
familyStr = "-V "
5554
}
5655

@@ -160,18 +159,4 @@ func networkingIPerfTest(isIPv6 bool) {
160159
framework.Logf("%v had bandwidth %v. Ratio to expected (%v) was %f", ipClient, bandwidth, expectedBandwidth, float64(bandwidth)/float64(expectedBandwidth))
161160
}
162161
})
163-
}
164-
165-
// Declared as Flakey since it has not been proven to run in parallel on small nodes or slow networks in CI
166-
// TODO jayunit100 : Retag this test according to semantics from #22401
167-
var _ = SIGDescribe("Networking IPerf IPv4 [Experimental] [Feature:Networking-IPv4] [Slow] [Feature:Networking-Performance]", func() {
168-
networkingIPerfTest(false)
169-
})
170-
171-
// Declared as Flakey since it has not been proven to run in parallel on small nodes or slow networks in CI
172-
// TODO jayunit100 : Retag this test according to semantics from #22401
173-
var _ = SIGDescribe("Networking IPerf IPv6 [Experimental] [Feature:Networking-IPv6] [Slow] [Feature:Networking-Performance] [LinuxOnly]", func() {
174-
// IPv6 is not supported on Windows.
175-
e2eskipper.SkipIfNodeOSDistroIs("windows")
176-
networkingIPerfTest(true)
177162
})

0 commit comments

Comments
 (0)