@@ -304,7 +304,6 @@ var _ = Describe("IAM Auth Policy", Ordered, func() {
304304 })
305305
306306 It ("supports targetRef HTTPRoute change from invalid to valid service name override" , func () {
307- Skip ("Test skipped" )
308307 policy := newPolicy ("recovery-test" , "HTTPRoute" , httpRouteWithInvalidServiceNameOverride .Name )
309308
310309 testK8sPolicy (policy , K8sResults {statusReason : gwv1alpha2 .PolicyReasonInvalid })
@@ -324,19 +323,7 @@ var _ = Describe("IAM Auth Policy", Ordered, func() {
324323 annotationResId : svcId ,
325324 }
326325
327- Eventually (func (g Gomega ) (K8sResults , error ) {
328- p := & anv1alpha1.IAMAuthPolicy {}
329- err := testFramework .Client .Get (ctx , client .ObjectKeyFromObject (policy ), p )
330- if err != nil {
331- return K8sResults {}, err
332- }
333- return K8sResults {
334- statusReason : GetPolicyStatusReason (p ),
335- annotationResType : p .Annotations [controllers .IAMAuthPolicyAnnotationType ],
336- annotationResId : p .Annotations [controllers .IAMAuthPolicyAnnotationResId ],
337- }, nil
338- }).WithTimeout (120 * time .Second ).WithPolling (time .Second ).
339- Should (Equal (wantResults ))
326+ testK8sPolicy (policy , wantResults )
340327 testLatticeSvcPolicy (svcId , vpclattice .AuthTypeAwsIam , policy .Spec .Policy )
341328
342329 testFramework .ExpectDeletedThenNotFound (ctx , policy )
0 commit comments