File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,9 @@ func TestConformance(t *testing.T) {
66
66
Debug : * flags .ShowDebug ,
67
67
CleanupBaseResources : * flags .CleanupBaseResources ,
68
68
SupportedFeatures : supportedFeatures ,
69
+ ExemptFeatures : exemptFeatures ,
69
70
EnableAllSupportedFeatures : * flags .EnableAllSupportedFeatures ,
70
71
})
71
- for feature := range exemptFeatures {
72
- cSuite .SupportedFeatures .Delete (feature )
73
- }
74
72
cSuite .Setup (t )
75
73
76
74
cSuite .Run (t , tests .ConformanceTests )
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ type Options struct {
74
74
// resources such as Gateways should be cleaned up after the run.
75
75
CleanupBaseResources bool
76
76
SupportedFeatures sets.Set [SupportedFeature ]
77
+ ExemptFeatures sets.Set [SupportedFeature ]
77
78
EnableAllSupportedFeatures bool
78
79
TimeoutConfig config.TimeoutConfig
79
80
// SkipTests contains all the tests not to be run and can be used to opt out
@@ -102,6 +103,10 @@ func New(s Options) *ConformanceTestSuite {
102
103
}
103
104
}
104
105
106
+ for feature := range s .ExemptFeatures {
107
+ s .SupportedFeatures .Delete (feature )
108
+ }
109
+
105
110
if s .FS == nil {
106
111
s .FS = & conformance .Manifests
107
112
}
You can’t perform that action at this time.
0 commit comments