Skip to content

Commit

Permalink
Merge pull request #2548 from frankbu/attached-routes
Browse files Browse the repository at this point in the history
Fix attached routes confromance test
  • Loading branch information
k8s-ci-robot authored Nov 2, 2023
2 parents c9cd2a1 + 8bd5491 commit 51c32c3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions conformance/tests/gateway-with-attached-routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,12 @@ var GatewayWithAttachedRoutes = suite.ConformanceTest{
kubernetes.GatewayStatusMustHaveListeners(t, s.Client, s.TimeoutConfig, gwNN, listeners)

hrouteNN := types.NamespacedName{Name: "http-route-4", Namespace: "gateway-conformance-infra"}
notAccepted := metav1.Condition{
Type: string(v1.RouteConditionAccepted),
Status: metav1.ConditionFalse,
Reason: "", // any reason
}
unresolved := metav1.Condition{
Type: string(v1.RouteConditionResolvedRefs),
Status: metav1.ConditionFalse,
Reason: "", // any reason
}

kubernetes.HTTPRouteMustHaveCondition(t, s.Client, s.TimeoutConfig, hrouteNN, gwNN, notAccepted)
kubernetes.HTTPRouteMustHaveCondition(t, s.Client, s.TimeoutConfig, hrouteNN, gwNN, unresolved)
})
},
Expand Down

0 comments on commit 51c32c3

Please sign in to comment.