X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/59cf374273bfae0baec8370526a747bbb8e5edb7..424298694945c9f66676bd401753be44f6fc5fa8:/lib/controller/handler_test.go diff --git a/lib/controller/handler_test.go b/lib/controller/handler_test.go index 4829fe0e44..c132b659da 100644 --- a/lib/controller/handler_test.go +++ b/lib/controller/handler_test.go @@ -38,7 +38,7 @@ func (s *HandlerSuite) SetUpTest(c *check.C) { NodeProfiles: map[string]arvados.NodeProfile{ "*": { Controller: arvados.SystemServiceInstance{Listen: ":"}, - RailsAPI: arvados.SystemServiceInstance{Listen: os.Getenv("ARVADOS_TEST_API_HOST"), TLS: true}, + RailsAPI: arvados.SystemServiceInstance{Listen: os.Getenv("ARVADOS_TEST_API_HOST"), TLS: true, Insecure: true}, }, }, } @@ -70,7 +70,7 @@ func (s *HandlerSuite) TestRequestTimeout(c *check.C) { err := json.Unmarshal(resp.Body.Bytes(), &jresp) c.Check(err, check.IsNil) c.Assert(len(jresp.Errors), check.Equals, 1) - c.Check(jresp.Errors[0], check.Matches, `.*context deadline exceeded`) + c.Check(jresp.Errors[0], check.Matches, `.*context deadline exceeded.*`) } func (s *HandlerSuite) TestProxyWithoutToken(c *check.C) {