Skip to content

Commit fc8f5a6

Browse files
authored
Merge pull request kubernetes#84881 from oomichi/cleanup-skip.go
Remove unused skip functions
2 parents f7c3fa8 + fb699b7 commit fc8f5a6

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/e2e/framework/skip.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ func SkipUnlessAtLeast(value int, minValue int, message string) {
5050
}
5151
}
5252

53-
// SkipIfContainerRuntimeIs skips if the container runtime is included in the runtimes.
54-
func SkipIfContainerRuntimeIs(runtimes ...string) {
55-
for _, containerRuntime := range runtimes {
56-
if containerRuntime == TestContext.ContainerRuntime {
57-
skipInternalf(1, "Not supported under container runtime %s", containerRuntime)
58-
}
59-
}
60-
}
61-
6253
// SkipUnlessLocalEphemeralStorageEnabled skips if the LocalStorageCapacityIsolation is not enabled.
6354
func SkipUnlessLocalEphemeralStorageEnabled() {
6455
if !utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) {
@@ -168,13 +159,6 @@ func SkipUnlessSSHKeyPresent() {
168159
}
169160
}
170161

171-
// SkipUnlessTaintBasedEvictionsEnabled skips if the TaintBasedEvictions is not enabled.
172-
func SkipUnlessTaintBasedEvictionsEnabled() {
173-
if !utilfeature.DefaultFeatureGate.Enabled(features.TaintBasedEvictions) {
174-
skipInternalf(1, "Only supported when %v feature is enabled", features.TaintBasedEvictions)
175-
}
176-
}
177-
178162
// serverVersionGTE returns true if v is greater than or equal to the server
179163
// version.
180164
//

0 commit comments

Comments
 (0)