Skip to content

Commit

Permalink
Stop setting removed field EnvoyExtensions in test
Browse files Browse the repository at this point in the history
The field was intentionally removed in hashicorp/consul#19186
  • Loading branch information
nathancoleman committed Nov 7, 2023
1 parent 8048c26 commit 45b5c0b
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions control-plane/api/mesh/v2beta1/proxy_configuration_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/testing/protocmp"
"google.golang.org/protobuf/types/known/durationpb"
"google.golang.org/protobuf/types/known/structpb"
"google.golang.org/protobuf/types/known/timestamppb"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -109,20 +108,6 @@ func TestProxyConfiguration_MatchesConsul(t *testing.T) {
JsonFormat: "jsonFormat",
TextFormat: "text format.",
},
EnvoyExtensions: []*pbmesh.EnvoyExtension{
{
Name: "extension-1",
Required: true,
Arguments: &structpb.Struct{
Fields: map[string]*structpb.Value{
"field-1": {},
"field-2": {},
},
},
ConsulVersion: "1.22.3-beta1",
EnvoyVersion: "1.33.4",
},
},
PublicListenerJson: "publicListenerJson{}",
ListenerTracingJson: "listenerTracingJson{}",
LocalClusterJson: "localClusterJson{}",
Expand Down Expand Up @@ -196,20 +181,6 @@ func TestProxyConfiguration_MatchesConsul(t *testing.T) {
JsonFormat: "jsonFormat",
TextFormat: "text format.",
},
EnvoyExtensions: []*pbmesh.EnvoyExtension{
{
Name: "extension-1",
Required: true,
Arguments: &structpb.Struct{
Fields: map[string]*structpb.Value{
"field-1": {},
"field-2": {},
},
},
ConsulVersion: "1.22.3-beta1",
EnvoyVersion: "1.33.4",
},
},
PublicListenerJson: "publicListenerJson{}",
ListenerTracingJson: "listenerTracingJson{}",
LocalClusterJson: "localClusterJson{}",
Expand Down Expand Up @@ -347,20 +318,6 @@ func TestProxyConfiguration_Resource(t *testing.T) {
JsonFormat: "jsonFormat",
TextFormat: "text format.",
},
EnvoyExtensions: []*pbmesh.EnvoyExtension{
{
Name: "extension-1",
Required: true,
Arguments: &structpb.Struct{
Fields: map[string]*structpb.Value{
"field-1": {},
"field-2": {},
},
},
ConsulVersion: "1.22.3-beta1",
EnvoyVersion: "1.33.4",
},
},
PublicListenerJson: "publicListenerJson{}",
ListenerTracingJson: "listenerTracingJson{}",
LocalClusterJson: "localClusterJson{}",
Expand Down Expand Up @@ -434,20 +391,6 @@ func TestProxyConfiguration_Resource(t *testing.T) {
JsonFormat: "jsonFormat",
TextFormat: "text format.",
},
EnvoyExtensions: []*pbmesh.EnvoyExtension{
{
Name: "extension-1",
Required: true,
Arguments: &structpb.Struct{
Fields: map[string]*structpb.Value{
"field-1": {},
"field-2": {},
},
},
ConsulVersion: "1.22.3-beta1",
EnvoyVersion: "1.33.4",
},
},
PublicListenerJson: "publicListenerJson{}",
ListenerTracingJson: "listenerTracingJson{}",
LocalClusterJson: "localClusterJson{}",
Expand Down

0 comments on commit 45b5c0b

Please sign in to comment.