Merge branch '18947-githttpd'
[arvados.git] / services / crunch-dispatch-local / crunch-dispatch-local_test.go
index 5d6176b0473e3fa549a464bd92fd2096849e1877..e5ce5c66c5eb3f1d60ac2ae91edc54d14b68b71d 100644 (file)
@@ -64,7 +64,7 @@ func (s *TestSuite) TestIntegration(c *C) {
        c.Assert(err, IsNil)
 
        echo := "echo"
-       crunchRunCommand = &echo
+       crunchRunCommand = echo
 
        ctx, cancel := context.WithCancel(ctxlog.Context(context.Background(), ctxlog.TestLogger(c)))
        dispatcher := dispatch.Dispatcher{
@@ -169,7 +169,7 @@ func testWithServerStub(c *C, apiStubResponses map[string]arvadostest.StubRespon
        logger := ctxlog.TestLogger(c)
        logger.SetOutput(io.MultiWriter(buf, logger.Out))
 
-       *crunchRunCommand = crunchCmd
+       crunchRunCommand = crunchCmd
 
        ctx, cancel := context.WithCancel(ctxlog.Context(context.Background(), logger))
        defer cancel()