X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d75d084f12dbc5efdcf9a65da7849aa5cc183ea5..HEAD:/lib/dispatchcloud/worker/pool_test.go diff --git a/lib/dispatchcloud/worker/pool_test.go b/lib/dispatchcloud/worker/pool_test.go index 7f3a1531ea..8d2ba09ebe 100644 --- a/lib/dispatchcloud/worker/pool_test.go +++ b/lib/dispatchcloud/worker/pool_test.go @@ -78,7 +78,7 @@ func (suite *PoolSuite) TestResumeAfterRestart(c *check.C) { driver := &test.StubDriver{} instanceSetID := cloud.InstanceSetID("test-instance-set-id") - is, err := driver.InstanceSet(nil, instanceSetID, nil, suite.logger) + is, err := driver.InstanceSet(nil, instanceSetID, nil, suite.logger, nil) c.Assert(err, check.IsNil) newExecutor := func(cloud.Instance) Executor { @@ -157,7 +157,7 @@ func (suite *PoolSuite) TestResumeAfterRestart(c *check.C) { func (suite *PoolSuite) TestDrain(c *check.C) { driver := test.StubDriver{} - instanceSet, err := driver.InstanceSet(nil, "test-instance-set-id", nil, suite.logger) + instanceSet, err := driver.InstanceSet(nil, "test-instance-set-id", nil, suite.logger, nil) c.Assert(err, check.IsNil) ac := arvados.NewClientFromEnv() @@ -210,7 +210,7 @@ func (suite *PoolSuite) TestDrain(c *check.C) { func (suite *PoolSuite) TestNodeCreateThrottle(c *check.C) { driver := test.StubDriver{HoldCloudOps: true} - instanceSet, err := driver.InstanceSet(nil, "test-instance-set-id", nil, suite.logger) + instanceSet, err := driver.InstanceSet(nil, "test-instance-set-id", nil, suite.logger, nil) c.Assert(err, check.IsNil) type1 := test.InstanceType(1) @@ -250,7 +250,7 @@ func (suite *PoolSuite) TestNodeCreateThrottle(c *check.C) { func (suite *PoolSuite) TestCreateUnallocShutdown(c *check.C) { driver := test.StubDriver{HoldCloudOps: true} - instanceSet, err := driver.InstanceSet(nil, "test-instance-set-id", nil, suite.logger) + instanceSet, err := driver.InstanceSet(nil, "test-instance-set-id", nil, suite.logger, nil) c.Assert(err, check.IsNil) type1 := arvados.InstanceType{Name: "a1s", ProviderType: "a1.small", VCPUs: 1, RAM: 1 * GiB, Price: .01}