From 7a1db291fcedd50ce99649e95109187c76da255c Mon Sep 17 00:00:00 2001 From: Andy Kipp <andy@rstudio.com> Date: Wed, 12 Mar 2014 17:26:17 -0400 Subject: [PATCH] Better test error message Docker-DCO-1.1-Signed-off-by: Andy Kipp <andy@rstudio.com> (github: kippandrew) --- runtime/networkdriver/portallocator/portallocator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/networkdriver/portallocator/portallocator_test.go b/runtime/networkdriver/portallocator/portallocator_test.go index 3f3afa657b..356da855b6 100644 --- a/runtime/networkdriver/portallocator/portallocator_test.go +++ b/runtime/networkdriver/portallocator/portallocator_test.go @@ -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") } }