mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Better test error message
Docker-DCO-1.1-Signed-off-by: Andy Kipp <andy@rstudio.com> (github: kippandrew)
This commit is contained in:
parent
f7b6fbbd76
commit
7a1db291fc
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue