File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ var GatewaySecretInvalidReferenceGrant = suite.ConformanceTest{
3939 Test : func (t * testing.T , s * suite.ConformanceTestSuite ) {
4040 gwNN := types.NamespacedName {Name : "gateway-secret-invalid-reference-grant" , Namespace : "gateway-conformance-infra" }
4141
42- t .Run ("Gateway listener should have a false ResolvedRefs condition with reason InvalidCertificateRef " , func (t * testing.T ) {
42+ t .Run ("Gateway listener should have a false ResolvedRefs condition with reason RefNotPermitted " , func (t * testing.T ) {
4343 listeners := []v1alpha2.ListenerStatus {{
4444 Name : v1alpha2 .SectionName ("https" ),
4545 SupportedKinds : []v1alpha2.RouteGroupKind {{
@@ -49,7 +49,7 @@ var GatewaySecretInvalidReferenceGrant = suite.ConformanceTest{
4949 Conditions : []metav1.Condition {{
5050 Type : string (v1alpha2 .ListenerConditionResolvedRefs ),
5151 Status : metav1 .ConditionFalse ,
52- Reason : string (v1alpha2 .ListenerReasonInvalidCertificateRef ),
52+ Reason : string (v1alpha2 .ListenerReasonRefNotPermitted ),
5353 }},
5454 }}
5555
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ var GatewaySecretMissingReferenceGrant = suite.ConformanceTest{
3939 Test : func (t * testing.T , s * suite.ConformanceTestSuite ) {
4040 gwNN := types.NamespacedName {Name : "gateway-secret-missing-reference-grant" , Namespace : "gateway-conformance-infra" }
4141
42- t .Run ("Gateway listener should have a false ResolvedRefs condition with reason InvalidCertificateRef " , func (t * testing.T ) {
42+ t .Run ("Gateway listener should have a false ResolvedRefs condition with reason RefNotPermitted " , func (t * testing.T ) {
4343 listeners := []v1alpha2.ListenerStatus {{
4444 Name : v1alpha2 .SectionName ("https" ),
4545 SupportedKinds : []v1alpha2.RouteGroupKind {{
@@ -49,7 +49,7 @@ var GatewaySecretMissingReferenceGrant = suite.ConformanceTest{
4949 Conditions : []metav1.Condition {{
5050 Type : string (v1alpha2 .ListenerConditionResolvedRefs ),
5151 Status : metav1 .ConditionFalse ,
52- Reason : string (v1alpha2 .ListenerReasonInvalidCertificateRef ),
52+ Reason : string (v1alpha2 .ListenerReasonRefNotPermitted ),
5353 }},
5454 }}
5555
You can’t perform that action at this time.
0 commit comments