9005: Rename ClearCache to RefreshServiceDiscovery
[arvados.git] / sdk / go / keepclient / keepclient_test.go
index ff0f57bbe6ce58c091e9c5a94b98cda67e077424..724d7ff3214db2315053d5e94f09e5e91adb070e 100644 (file)
@@ -36,7 +36,7 @@ type ServerRequiredSuite struct{}
 type StandaloneSuite struct{}
 
 func (s *StandaloneSuite) SetUpTest(c *C) {
-       ClearCache()
+       RefreshServiceDiscovery()
 }
 
 func pythonDir() string {
@@ -55,7 +55,7 @@ func (s *ServerRequiredSuite) TearDownSuite(c *C) {
 }
 
 func (s *ServerRequiredSuite) SetUpTest(c *C) {
-       ClearCache()
+       RefreshServiceDiscovery()
 }
 
 func (s *ServerRequiredSuite) TestMakeKeepClient(c *C) {
@@ -1247,7 +1247,7 @@ func (s *ServerRequiredSuite) TestMakeKeepClientWithNonDiskTypeService(c *C) {
                &blobKeepService)
        c.Assert(err, Equals, nil)
        defer func() { arv.Delete("keep_services", blobKeepService["uuid"].(string), nil, nil) }()
-       ClearCache()
+       RefreshServiceDiscovery()
 
        // Make a keepclient and ensure that the testblobstore is included
        kc, err := MakeKeepClient(arv)