mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Better test error message
Docker-DCO-1.1-Signed-off-by: Andy Kipp <andy@rstudio.com> (github: kippandrew) Upstream-commit: 7a1db291fcedd50ce99649e95109187c76da255c Component: engine
This commit is contained in:
@@ -186,6 +186,6 @@ func TestPortAllocation(t *testing.T) {
|
||||
port2, err := RequestPort(ip, "tcp", port+1)
|
||||
port3, err := RequestPort(ip, "tcp", 0)
|
||||
if port3 == port2 {
|
||||
t.Fatal("A dynamic port should never allocate a used port")
|
||||
t.Fatal("Requesting a dynamic port should never allocate a used port")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user