X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f66d4cc05e9442a9bb69969744d0750a02a1ed4..c0eed4ee7f222f436beb8528e31ed344d6f9bd71:/lib/service/cmd_test.go diff --git a/lib/service/cmd_test.go b/lib/service/cmd_test.go index 86039c4dd1..4a984c9e78 100644 --- a/lib/service/cmd_test.go +++ b/lib/service/cmd_test.go @@ -107,6 +107,7 @@ Clusters: continue } body, err := ioutil.ReadAll(resp.Body) + c.Check(err, check.IsNil) c.Logf("status %d, body %s", resp.StatusCode, string(body)) c.Check(resp.StatusCode, check.Equals, http.StatusOK) break @@ -135,6 +136,7 @@ type testHandler struct { healthCheck chan bool } +func (th *testHandler) Done() <-chan struct{} { return nil } func (th *testHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { th.handler.ServeHTTP(w, r) } func (th *testHandler) CheckHealth() error { ctxlog.FromContext(th.ctx).Info("CheckHealth called")