Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As described in #371, all services should implement a "readiness" endpoint, which checks whether the service is ready to serve traffic, i.e. whether it can reach all of its dependencies. - Add a client for the origin's readiness endpoint. - Additionally, add a ClusterClient (a client which abstracts which origin from the cluster is called). - Rework the readiness test to use the client instead of directly calling the endpoint. Also, make each test case run separately (by using t.Run instead of just looping) to follow idiomatic Go.
- Loading branch information