projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14738: Enhances code readability when concatenating strings.
[arvados.git]
/
services
/
keepstore
/
pull_worker_integration_test.go
diff --git
a/services/keepstore/pull_worker_integration_test.go
b/services/keepstore/pull_worker_integration_test.go
index 34c2f61a37a01097ec1ce257f49f5ccb9c33e246..231a4c0ab28097340f558c6179fd14d9d50b9d3f 100644
(file)
--- a/
services/keepstore/pull_worker_integration_test.go
+++ b/
services/keepstore/pull_worker_integration_test.go
@@
-1,3
+1,7
@@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
package main
import (
package main
import (
@@
-29,7
+33,6
@@
func SetupPullWorkerIntegrationTest(t *testing.T, testData PullWorkIntegrationTe
// start api and keep servers
arvadostest.StartAPI()
arvadostest.StartKeep(2, false)
// start api and keep servers
arvadostest.StartAPI()
arvadostest.StartKeep(2, false)
- keepclient.RefreshServiceDiscovery()
// make arvadosclient
arv, err := arvadosclient.MakeArvadosClient()
// make arvadosclient
arv, err := arvadosclient.MakeArvadosClient()
@@
-43,6
+46,7
@@
func SetupPullWorkerIntegrationTest(t *testing.T, testData PullWorkIntegrationTe
t.Fatalf("error creating KeepClient: %s", err)
}
keepClient.Want_replicas = 1
t.Fatalf("error creating KeepClient: %s", err)
}
keepClient.Want_replicas = 1
+ keepClient.RefreshServiceDiscovery()
// discover keep services
var servers []string
// discover keep services
var servers []string