Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit f41efa3

Browse files
authored
Merge pull request #1583 from gtardif/fix_port_display
Fir port display assertion, Docker engine returns 2 entries in container inspect
2 parents da6cb7c + ec693fc commit f41efa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local/e2e/container/container_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func TestLocalBackendRun(t *testing.T) {
103103
nginxFound = true
104104
assert.Equal(t, fields[1], "nginx:alpine", res.Combined())
105105
assert.Equal(t, fields[2], "/docker-entrypoint.sh", res.Combined())
106-
assert.Equal(t, fields[len(fields)-1], "0.0.0.0:85->80/tcp", res.Combined())
106+
assert.Assert(t, strings.Contains(fields[len(fields)-1], ":85->80/tcp"), res.Combined())
107107
}
108108
}
109109
assert.Assert(t, nginxFound, res.Stdout())

0 commit comments

Comments
 (0)