17756: Fix test.
authorTom Clegg <tom@curii.com>
Thu, 22 Jul 2021 15:10:25 +0000 (11:10 -0400)
committerTom Clegg <tom@curii.com>
Thu, 22 Jul 2021 15:10:25 +0000 (11:10 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

sdk/go/dispatch/dispatch_test.go

index 25a4d2b87902531b913cc2203c8439a748469753..4b115229b403bc69aadd275a0177b00d4d171f79 100644 (file)
@@ -35,11 +35,12 @@ func (s *suite) TestTrackContainer(c *C) {
        time.AfterFunc(10*time.Second, func() { done <- false })
        d := &Dispatcher{
                Arv: arv,
-               RunContainer: func(dsp *Dispatcher, ctr arvados.Container, status <-chan arvados.Container) {
+               RunContainer: func(dsp *Dispatcher, ctr arvados.Container, status <-chan arvados.Container) error {
                        for ctr := range status {
                                c.Logf("%#v", ctr)
                        }
                        done <- true
+                       return nil
                },
        }
        d.TrackContainer(arvadostest.QueuedContainerUUID)