Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ygersie committed Jan 26, 2023
1 parent 7818555 commit 16048aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/docker/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ func TestDriver_createSandboxContainerConfig(t *testing.T) {
Name: "nomad_init_768b5e8c-a52e-825c-d564-51100230eb62",
Config: &docker.Config{
Image: "gcr.io/google_containers/pause-amd64:3.1",
Labels: map[string]string{
dockerLabelAllocID: "768b5e8c-a52e-825c-d564-51100230eb62",
},
},
HostConfig: &docker.HostConfig{
NetworkMode: "none",
Expand All @@ -44,6 +47,9 @@ func TestDriver_createSandboxContainerConfig(t *testing.T) {
Config: &docker.Config{
Image: "gcr.io/google_containers/pause-amd64:3.1",
Hostname: "linux",
Labels: map[string]string{
dockerLabelAllocID: "768b5e8c-a52e-825c-d564-51100230eb62",
},
},
HostConfig: &docker.HostConfig{
NetworkMode: "none",
Expand Down

0 comments on commit 16048aa

Please sign in to comment.