Remove unnecessary e2e feature.UDP

[Feature:UDP] was probably added in the past by analogy to
[Feature:SCTP], but is unnecessary since UDP support has always been
required.
This commit is contained in:
Dan Winship 2024-04-20 10:00:20 -04:00
parent 7f68d014e5
commit a1c1ef31df
2 changed files with 1 additions and 4 deletions

View File

@ -327,9 +327,6 @@ var (
// TODO: document the feature (owning SIG, when to use this feature for a test)
TopologyManager = framework.WithFeature(framework.ValidFeatures.Add("TopologyManager"))
// TODO: document the feature (owning SIG, when to use this feature for a test)
UDP = framework.WithFeature(framework.ValidFeatures.Add("UDP"))
// TODO: document the feature (owning SIG, when to use this feature for a test)
Upgrade = framework.WithFeature(framework.ValidFeatures.Add("Upgrade"))

View File

@ -893,7 +893,7 @@ var _ = common.SIGDescribe("Netpol", func() {
ValidateOrFail(k8s, &TestCase{ToPort: 80, Protocol: v1.ProtocolTCP, Reachability: reachability})
})
f.It("should enforce ingress policy allowing any port traffic to a server on a specific protocol", feature.NetworkPolicy, feature.UDP, func(ctx context.Context) {
f.It("should enforce ingress policy allowing any port traffic to a server on a specific protocol", feature.NetworkPolicy, func(ctx context.Context) {
protocols := []v1.Protocol{protocolTCP, protocolUDP}
ports := []int32{80}
k8s = initializeResources(ctx, f, protocols, ports)