Skip to content

Commit 5417cf8

Browse files
authoredSep 20, 2021
xds/test: delete use of removed types (#4784)
They were deprecated, and removed later.
1 parent 1109452 commit 5417cf8

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed
 

‎internal/xds/matcher/string_matcher_test.go

-7
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ func TestStringMatcherFromProto(t *testing.T) {
6767
},
6868
wantErr: true,
6969
},
70-
{
71-
desc: "invalid deprecated regex",
72-
inputProto: &v3matcherpb.StringMatcher{
73-
MatchPattern: &v3matcherpb.StringMatcher_HiddenEnvoyDeprecatedRegex{},
74-
},
75-
wantErr: true,
76-
},
7770
{
7871
desc: "happy case exact",
7972
inputProto: &v3matcherpb.StringMatcher{

‎xds/internal/xdsclient/rds_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ func (s) TestRoutesProtoToSlice(t *testing.T) {
11461146
Headers: []*v3routepb.HeaderMatcher{
11471147
{
11481148
Name: "th",
1149-
HeaderMatchSpecifier: &v3routepb.HeaderMatcher_HiddenEnvoyDeprecatedRegexMatch{},
1149+
HeaderMatchSpecifier: &v3routepb.HeaderMatcher_StringMatch{},
11501150
},
11511151
},
11521152
},

0 commit comments

Comments
 (0)
Please sign in to comment.