X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7ab4905be555e3e5f65c3020ccafe3cc88f9e839..b328d1d5f11a0cdc9f6d6e12984af9fe30608358:/tools/sync-groups/federation_test.go diff --git a/tools/sync-groups/federation_test.go b/tools/sync-groups/federation_test.go index baa2ec02a3..1bbdaa3fa3 100644 --- a/tools/sync-groups/federation_test.go +++ b/tools/sync-groups/federation_test.go @@ -10,6 +10,7 @@ import ( "os" "path/filepath" + "git.arvados.org/arvados.git/lib/boot" "git.arvados.org/arvados.git/lib/config" "git.arvados.org/arvados.git/sdk/go/arvados" "git.arvados.org/arvados.git/sdk/go/arvadostest" @@ -22,7 +23,7 @@ var _ = check.Suite(&FederationSuite{}) var origAPIHost, origAPIToken string type FederationSuite struct { - testClusters map[string]*arvadostest.TestCluster + testClusters map[string]*boot.TestCluster oidcprovider *arvadostest.OIDCProvider } @@ -39,7 +40,7 @@ func (s *FederationSuite) SetUpSuite(c *check.C) { s.oidcprovider.ValidClientID = "clientid" s.oidcprovider.ValidClientSecret = "clientsecret" - s.testClusters = map[string]*arvadostest.TestCluster{ + s.testClusters = map[string]*boot.TestCluster{ "z1111": nil, "z2222": nil, } @@ -110,11 +111,12 @@ func (s *FederationSuite) SetUpSuite(c *check.C) { loader.SkipAPICalls = true cfg, err := loader.Load() c.Assert(err, check.IsNil) - tc := arvadostest.NewTestCluster( + tc := boot.NewTestCluster( filepath.Join(cwd, "..", ".."), id, cfg, "127.0.0."+id[3:], c.Log) + tc.Super.NoWorkbench1 = true + tc.Start() s.testClusters[id] = tc - s.testClusters[id].Start() } for _, tc := range s.testClusters { ok := tc.WaitReady()