don't print the test port
it's of no interest whatsoever
This commit is contained in:
1 parent
fb721558af
commit
3ad08c0f2a
2 files changed
-4
No files matched your search
@@ -67,7 +67,6 @@ func TestHttp(t *testing.T) {
|
|||||||
|
|
||||||
alloc := makeAllocatorWithMockGossip(t, "08:00:27:01:c3:9a", testCIDR1, 1)
|
alloc := makeAllocatorWithMockGossip(t, "08:00:27:01:c3:9a", testCIDR1, 1)
|
||||||
port := listenHTTP(alloc)
|
port := listenHTTP(alloc)
|
||||||
fmt.Println("Http test on port", port)
|
|
||||||
|
|
||||||
time.Sleep(100 * time.Millisecond) // Allow for http server to get going
|
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)
|
alloc := makeAllocatorWithMockGossip(t, "08:00:27:01:c3:9a", testCIDR1, 1)
|
||||||
defer alloc.Stop()
|
defer alloc.Stop()
|
||||||
port := listenHTTP(alloc)
|
port := listenHTTP(alloc)
|
||||||
fmt.Println("Http test on port", port)
|
|
||||||
|
|
||||||
alloc.claimRingForTesting()
|
alloc.claimRingForTesting()
|
||||||
cidr1 := HTTPPost(t, allocURL(port, containerID))
|
cidr1 := HTTPPost(t, allocURL(port, containerID))
|
||||||
@@ -140,7 +138,6 @@ func impTestHTTPCancel(t *testing.T) {
|
|||||||
defer alloc.Stop()
|
defer alloc.Stop()
|
||||||
alloc.claimRingForTesting()
|
alloc.claimRingForTesting()
|
||||||
port := listenHTTP(alloc)
|
port := listenHTTP(alloc)
|
||||||
fmt.Println("Http test on port", port)
|
|
||||||
|
|
||||||
time.Sleep(100 * time.Millisecond) // Allow for http server to get going
|
time.Sleep(100 * time.Millisecond) // Allow for http server to get going
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ func TestHttp(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
port := httpListener.Addr().(*net.TCPAddr).Port
|
port := httpListener.Addr().(*net.TCPAddr).Port
|
||||||
fmt.Println("Http test on port", port)
|
|
||||||
go ServeHTTP(httpListener, "", nil, testDomain, zone)
|
go ServeHTTP(httpListener, "", nil, testDomain, zone)
|
||||||
|
|
||||||
time.Sleep(100 * time.Millisecond) // Allow for http server to get going
|
time.Sleep(100 * time.Millisecond) // Allow for http server to get going
|
||||||
|
|||||||
Reference in new issue
Block a user