mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
skip docker test if no docker found
This commit is contained in:
@@ -256,6 +256,10 @@ func TestDockerDriver_Start_Wait(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestDockerDriver_Start_LoadImage(t *testing.T) {
|
||||
t.Parallel()
|
||||
if !testutil.DockerIsConnected(t) {
|
||||
t.SkipNow()
|
||||
}
|
||||
task := &structs.Task{
|
||||
Name: "busybox-demo",
|
||||
Config: map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user