projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
9406: Support passing additional arguments from crunch-dispatch-slurm to crunch-run.
[arvados.git]
/
services
/
crunch-dispatch-slurm
/
crunch-dispatch-slurm_test.go
diff --git
a/services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
b/services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
index a55929838bc39cd86c27664ccee27c544b6b5cba..6692f7f80e341fecfeec5cab1a3dba6ddb3d27a6 100644
(file)
--- a/
services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
+++ b/
services/crunch-dispatch-slurm/crunch-dispatch-slurm_test.go
@@
-143,8
+143,7
@@
func (s *TestSuite) integrationTest(c *C,
c.Check(err, IsNil)
c.Check(len(containers.Items), Equals, 1)
c.Check(err, IsNil)
c.Check(len(containers.Items), Equals, 1)
- echo := "echo"
- config.CrunchRunCommand = &echo
+ config.CrunchRunCommand = []string{"echo"}
doneProcessing := make(chan struct{})
dispatcher := dispatch.Dispatcher{
doneProcessing := make(chan struct{})
dispatcher := dispatch.Dispatcher{
@@
-206,7
+205,7
@@
func testWithServerStub(c *C, apiStubResponses map[string]arvadostest.StubRespon
log.SetOutput(io.MultiWriter(buf, os.Stderr))
defer log.SetOutput(os.Stderr)
log.SetOutput(io.MultiWriter(buf, os.Stderr))
defer log.SetOutput(os.Stderr)
- config.CrunchRunCommand =
&crunchCmd
+ config.CrunchRunCommand =
[]string{crunchCmd}
doneProcessing := make(chan struct{})
dispatcher := dispatch.Dispatcher{
doneProcessing := make(chan struct{})
dispatcher := dispatch.Dispatcher{