1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
14 var _ = Suite(&dockerSuite{})
16 type dockerSuite struct {
20 func (s *dockerSuite) SetUpSuite(c *C) {
21 _, err := exec.LookPath("docker")
23 c.Skip("looks like docker is not installed")
25 s.newExecutor = func(c *C) {
26 exec.Command("docker", "rm", "zzzzz-zzzzz-zzzzzzzzzzzzzzz").Run()
28 s.executor, err = newDockerExecutor("zzzzz-zzzzz-zzzzzzzzzzzzzzz", c.Logf, time.Second/2)