projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17384: Respect CrunchRunCommand and CrunchRunArgumentsList in a-d-c.
[arvados.git]
/
lib
/
dispatchcloud
/
worker
/
pool_test.go
diff --git
a/lib/dispatchcloud/worker/pool_test.go
b/lib/dispatchcloud/worker/pool_test.go
index a85f7383ab3cdc59fcc1bd0e7ad936703666ca2f..0f5c5ee196d2866269f2bb999292e8a9672c3e47 100644
(file)
--- a/
lib/dispatchcloud/worker/pool_test.go
+++ b/
lib/dispatchcloud/worker/pool_test.go
@@
-72,8
+72,8
@@
func (suite *PoolSuite) TestResumeAfterRestart(c *check.C) {
newExecutor := func(cloud.Instance) Executor {
return &stubExecutor{
response: map[string]stubResp{
newExecutor := func(cloud.Instance) Executor {
return &stubExecutor{
response: map[string]stubResp{
- "crunch-run --list": {},
- "true": {},
+ "crunch-run
-custom
--list": {},
+ "true":
{},
},
}
}
},
}
}
@@
-87,6
+87,7
@@
func (suite *PoolSuite) TestResumeAfterRestart(c *check.C) {
SyncInterval: arvados.Duration(time.Millisecond * 10),
TagKeyPrefix: "testprefix:",
},
SyncInterval: arvados.Duration(time.Millisecond * 10),
TagKeyPrefix: "testprefix:",
},
+ CrunchRunCommand: "crunch-run-custom",
},
InstanceTypes: arvados.InstanceTypeMap{
type1.Name: type1,
},
InstanceTypes: arvados.InstanceTypeMap{
type1.Name: type1,