From 3ad08c0f2a84fcd0cccb4d81e10b3af2e4bbd20f Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Fri, 29 May 2015 14:05:24 +0100 Subject: [PATCH] don't print the test port it's of no interest whatsoever --- ipam/http_test.go | 3 --- nameserver/http_test.go | 1 - 2 files changed, 4 deletions(-) diff --git a/ipam/http_test.go b/ipam/http_test.go index dd2adc71..911f3ef0 100644 --- a/ipam/http_test.go +++ b/ipam/http_test.go @@ -67,7 +67,6 @@ func TestHttp(t *testing.T) { alloc := makeAllocatorWithMockGossip(t, "08:00:27:01:c3:9a", testCIDR1, 1) port := listenHTTP(alloc) - fmt.Println("Http test on port", port) time.Sleep(100 * time.Millisecond) // Allow for http server to get going @@ -103,7 +102,6 @@ func TestBadHttp(t *testing.T) { alloc := makeAllocatorWithMockGossip(t, "08:00:27:01:c3:9a", testCIDR1, 1) defer alloc.Stop() port := listenHTTP(alloc) - fmt.Println("Http test on port", port) alloc.claimRingForTesting() cidr1 := HTTPPost(t, allocURL(port, containerID)) @@ -140,7 +138,6 @@ func impTestHTTPCancel(t *testing.T) { defer alloc.Stop() alloc.claimRingForTesting() port := listenHTTP(alloc) - fmt.Println("Http test on port", port) time.Sleep(100 * time.Millisecond) // Allow for http server to get going diff --git a/nameserver/http_test.go b/nameserver/http_test.go index 4a44eb9f..805624c5 100644 --- a/nameserver/http_test.go +++ b/nameserver/http_test.go @@ -40,7 +40,6 @@ func TestHttp(t *testing.T) { } port := httpListener.Addr().(*net.TCPAddr).Port - fmt.Println("Http test on port", port) go ServeHTTP(httpListener, "", nil, testDomain, zone) time.Sleep(100 * time.Millisecond) // Allow for http server to get going