File tree 1 file changed +5
-6
lines changed
openshift-hack/cmd/k8s-tests-ext
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ func addEnvironmentSelectors(specs et.ExtensionTestSpecs) {
17
17
et .NameContainsAll ("[sig-network] LoadBalancers [Feature:LoadBalancer]" , "UDP" ),
18
18
et .NameContainsAll ("[sig-network] LoadBalancers [Feature:LoadBalancer]" , "session affinity" ),
19
19
}).Exclude (et .PlatformEquals ("aws" ))
20
+
21
+ specs .SelectAny ([]et.SelectFunction { // Since these must use "NameContainsAll" they cannot be included in filterByNetwork
22
+ et .NameContainsAll ("NetworkPolicy" , "named port" ),
23
+ }).Exclude (et .NetworkEquals ("OVNKubernetes" ))
20
24
}
21
25
22
26
// filterByPlatform is a helper function to do, simple, "NameContains" filtering on tests by platform
@@ -213,12 +217,7 @@ func filterByNoOptionalCapabilities(specs et.ExtensionTestSpecs) {
213
217
214
218
// filterByNetwork is a helper function to do, simple, "NameContains" filtering on tests by network
215
219
func filterByNetwork (specs et.ExtensionTestSpecs ) {
216
- var networkExclusions = map [string ][]string {
217
- "OVNKubernetes" : {
218
- "NetworkPolicy" ,
219
- "named port" ,
220
- },
221
- }
220
+ var networkExclusions = map [string ][]string {}
222
221
223
222
for network , exclusions := range networkExclusions {
224
223
var selectFunctions []et.SelectFunction
You can’t perform that action at this time.
0 commit comments