lingsamuel commented on code in PR #1128: URL: https://github.com/apache/apisix-ingress-controller/pull/1128#discussion_r912854536
########## test/e2e/scaffold/k8s.go: ########## @@ -208,6 +208,12 @@ func (s *Scaffold) ensureNumApisixCRDsCreated(url string, desired int) error { return wait.Poll(3*time.Second, 35*time.Second, condFunc) } +// EnsureNumIngressCreated waits until desired number of route are created in +// APISIX cluster. +func (s *Scaffold) EnsureNumIngressCreated(desired int) error { Review Comment: Just use EnsureApisix directly. Test case authors should know how many routes they expect to have. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org