From f42ea5c9f8a46b8d97d5424ce036ec0a8c1812ca Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Tue, 25 May 2021 15:28:49 -0400 Subject: [PATCH] 17296: Skip integration tests if docker is not installed. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/crunchrun/integration_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/crunchrun/integration_test.go b/lib/crunchrun/integration_test.go index 04a15bcea7..50136e51d6 100644 --- a/lib/crunchrun/integration_test.go +++ b/lib/crunchrun/integration_test.go @@ -36,6 +36,11 @@ type integrationSuite struct { } func (s *integrationSuite) SetUpSuite(c *C) { + _, err := exec.LookPath("docker") + if err != nil { + c.Skip("looks like docker is not installed") + } + arvadostest.StartKeep(2, true) out, err := exec.Command("docker", "load", "--input", busyboxDockerImage(c)).CombinedOutput() -- 2.30.2