From fe0db24ec1f5b6420ff96282733942677237bc76 Mon Sep 17 00:00:00 2001 From: Arko Dasgupta Date: Thu, 18 Jul 2024 13:57:51 -0700 Subject: [PATCH] comment out test snippet Signed-off-by: Arko Dasgupta --- internal/cmd/egctl/translate_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/cmd/egctl/translate_test.go b/internal/cmd/egctl/translate_test.go index 28d07afc977..43fac41ebdd 100644 --- a/internal/cmd/egctl/translate_test.go +++ b/internal/cmd/egctl/translate_test.go @@ -22,7 +22,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/yaml" - "github.com/envoyproxy/gateway/internal/gatewayapi/status" "github.com/envoyproxy/gateway/internal/utils/field" "github.com/envoyproxy/gateway/internal/utils/file" ) @@ -360,9 +359,10 @@ func TestTranslate(t *testing.T) { // Supported features are dynamic, instead of hard-coding them in the output files // we define them here. - if want.GatewayClass != nil { - want.GatewayClass.Status.SupportedFeatures = status.GatewaySupportedFeatures - } + // Disabled until GatewayClass.Status.SupportedFeatures is stable + // if want.GatewayClass != nil { + // want.GatewayClass.Status.SupportedFeatures = status.GatewaySupportedFeatures + // } opts := cmpopts.IgnoreFields(metav1.Condition{}, "LastTransitionTime") require.Empty(t, cmp.Diff(want, got, opts))