X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8953bb09c63894d79896a15c3b276136cdf4332b..8dedd02357a95a0ae2c7961c8f1d0896b6311b3b:/services/crunch-dispatch-local/crunch-dispatch-local_test.go diff --git a/services/crunch-dispatch-local/crunch-dispatch-local_test.go b/services/crunch-dispatch-local/crunch-dispatch-local_test.go index 5d6176b047..e5ce5c66c5 100644 --- a/services/crunch-dispatch-local/crunch-dispatch-local_test.go +++ b/services/crunch-dispatch-local/crunch-dispatch-local_test.go @@ -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()