projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b7200
)
17296: Skip integration tests if docker is not installed.
author
Tom Clegg <tom@curii.com>
Tue, 25 May 2021 19:28:49 +0000
(15:28 -0400)
committer
Tom Clegg <tom@curii.com>
Tue, 25 May 2021 19:28:49 +0000
(15:28 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/crunchrun/integration_test.go
patch
|
blob
|
history
diff --git
a/lib/crunchrun/integration_test.go
b/lib/crunchrun/integration_test.go
index 04a15bcea7bf97c11a6dd66af52d641967ed0a0a..50136e51d61660ba3dc4aaf5e27094ba6c8484ad 100644
(file)
--- 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()