Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kriss <stephen.kriss@gmail.com>
  • Loading branch information
skriss committed Jan 9, 2025
1 parent 08ff682 commit c9cd826
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .codespell.ignorewords
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ aks
immediatedly
te
NotIn
maxmimum
13 changes: 12 additions & 1 deletion test/conformance/gatewayapi/gateway_conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,18 @@ func TestGatewayConformance(t *testing.T) {
// exclude tests we don't want to run using the ExemptFeatures
// field.
options.EnableAllSupportedFeatures = false
options.SupportedFeatures = features.AllFeatures.Delete(append(features.MeshCoreFeatures.UnsortedList(), features.UDPRouteFeatures.UnsortedList()...)...)

supportedFeatures := features.AllFeatures
supportedFeatures.Delete(features.MeshCoreFeatures.UnsortedList()...)
// As of GWAPI 1.2.1 UDPRouteFeatures is a different
// type than AllFeatures/MeshCoreFeatures hence the
// slightly different deletion syntax.
for _, f := range features.UDPRouteFeatures {
supportedFeatures.Delete(f)
}
for f := range supportedFeatures {
options.SupportedFeatures.Insert(f.Name)
}
}

conformance.RunConformanceWithOptions(t, options)
Expand Down

0 comments on commit c9cd826

Please sign in to comment.