diff --git a/test/conformance/gatewayapi/gateway_conformance_test.go b/test/conformance/gatewayapi/gateway_conformance_test.go index b9c35b29fa6..1bc417e2e8f 100644 --- a/test/conformance/gatewayapi/gateway_conformance_test.go +++ b/test/conformance/gatewayapi/gateway_conformance_test.go @@ -19,6 +19,7 @@ import ( "testing" "github.com/stretchr/testify/require" + "k8s.io/apimachinery/pkg/util/sets" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/config" "sigs.k8s.io/gateway-api/apis/v1alpha2" @@ -55,6 +56,9 @@ func TestGatewayConformance(t *testing.T) { "HTTPRouteRedirectPath", "HTTPRouteRedirectScheme", }, + ExemptFeatures: sets.New( + suite.SupportMesh, + ), }) cSuite.Setup(t) cSuite.Run(t, tests.ConformanceTests) diff --git a/test/scripts/run-gateway-conformance.sh b/test/scripts/run-gateway-conformance.sh index 20919f2fc3c..d3b30980a12 100755 --- a/test/scripts/run-gateway-conformance.sh +++ b/test/scripts/run-gateway-conformance.sh @@ -62,5 +62,5 @@ else # test/conformance/gatewayapi/gateway_conformance_test.go. # Can implement with the -skip flag available with go 1.20 # or if Gateway API supports skipping tests via custom flag. - go test -timeout=20m ./conformance -gateway-class=contour -all-features + go test -timeout=20m ./conformance -gateway-class=contour -all-features -exempt-features=Mesh fi