X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/267d3c40bf1c5503e6487db2ab1f6a4339ac5f83..451559bf80f31f57ac6937e79e4d37633b9eafa3:/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)) }