X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/43a9015c4e82f3da58f7824694ac2ef1d80fca6c..f1f74069850d8c5e987ef7d7fc246735ff94d58d:/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)) }