9005: Share http Transports and Clients across KeepClients.
[arvados.git] / sdk / go / keepclient / keepclient_test.go
index fcae4131fc028e563f5eac4ed1fa1748c5a7f5da..d2b84e94259892bcba2efe07e1952126530c8f7c 100644 (file)
@@ -1265,5 +1265,5 @@ func (s *ServerRequiredSuite) TestMakeKeepClientWithNonDiskTypeService(c *C) {
 
        c.Assert(kc.replicasPerService, Equals, 0)
        c.Assert(kc.foundNonDiskSvc, Equals, true)
-       c.Assert(kc.Client.(*http.Client).Timeout, Equals, 300*time.Second)
+       c.Assert(kc.httpClient().(*http.Client).Timeout, Equals, 300*time.Second)
 }