Skip to content

Commit

Permalink
Fix attached routes confromance test
Browse files Browse the repository at this point in the history
  • Loading branch information
frankbu committed Oct 31, 2023
1 parent 8f1b718 commit 8bd5491
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 8bd5491

Please sign in to comment.