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

Commit ec693fc

Browse files
committed
Fir port display assertion, Docker engine returns 2 entries in container inspect
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent da6cb7c commit ec693fc

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)