X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/40693f6b000a2089038af611eb93dc69d66377e3..a88aa282a8da52589053244f4ef41283d51f629a:/lib/controller/federation/federation_test.go diff --git a/lib/controller/federation/federation_test.go b/lib/controller/federation/federation_test.go index fdc4d96cfa..5460e938a6 100644 --- a/lib/controller/federation/federation_test.go +++ b/lib/controller/federation/federation_test.go @@ -70,7 +70,7 @@ func (s *FederationSuite) SetUpTest(c *check.C) { ctx = ctrlctx.NewWithTransaction(ctx, s.tx) s.ctx = ctx - s.fed = New(s.cluster) + s.fed = New(s.cluster, nil) } func (s *FederationSuite) TearDownTest(c *check.C) { @@ -93,5 +93,5 @@ func (s *FederationSuite) addHTTPRemote(c *check.C, id string, backend backend) Host: srv.Addr, Proxy: true, } - s.fed.remotes[id] = rpc.NewConn(id, &url.URL{Scheme: "http", Host: srv.Addr}, true, saltedTokenProvider(s.fed.local, id)) + s.fed.remotes[id] = rpc.NewConn(id, &url.URL{Scheme: "http", Host: srv.Addr}, true, saltedTokenProvider(s.cluster, s.fed.local, id)) }