X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ac351421506de537e44b1771fbd44103ef04a523..9fa741f376df64f11b3af4e3fb7e4d30bcba795f:/lib/crunchrun/crunchrun_test.go?ds=sidebyside diff --git a/lib/crunchrun/crunchrun_test.go b/lib/crunchrun/crunchrun_test.go index 1a00e9d52a..786f9410a8 100644 --- a/lib/crunchrun/crunchrun_test.go +++ b/lib/crunchrun/crunchrun_test.go @@ -1157,6 +1157,7 @@ func (s *TestSuite) TestStopOnSignal(c *C) { s.executor.runFunc = func() int { s.executor.created.Stdout.Write([]byte("foo\n")) s.runner.SigChan <- syscall.SIGINT + time.Sleep(10 * time.Second) return 0 } s.testStopContainer(c) @@ -1167,6 +1168,7 @@ func (s *TestSuite) TestStopOnArvMountDeath(c *C) { s.executor.created.Stdout.Write([]byte("foo\n")) s.runner.ArvMountExit <- nil close(s.runner.ArvMountExit) + time.Sleep(10 * time.Second) return 0 } s.runner.ArvMountExit = make(chan error)