From 2247f1cf8363f9202f2fe2b11893f02d60faa462 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 14 May 2016 22:51:25 -0700 Subject: [PATCH] test cleanup --- p2p/net/swarm/limiter_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/p2p/net/swarm/limiter_test.go b/p2p/net/swarm/limiter_test.go index fb1be191ee..28733c5ab5 100644 --- a/p2p/net/swarm/limiter_test.go +++ b/p2p/net/swarm/limiter_test.go @@ -3,7 +3,6 @@ package swarm import ( "fmt" "math/rand" - "runtime" "strconv" "testing" "time" @@ -263,7 +262,6 @@ func TestTokenRedistribution(t *testing.T) { func TestStressLimiter(t *testing.T) { df := func(ctx context.Context, p peer.ID, a ma.Multiaddr) (conn.Conn, error) { - fmt.Println("dial for peer: ", string(p)) if tcpPortOver(a, 1000) { return conn.Conn(nil), nil } else { @@ -307,8 +305,6 @@ func TestStressLimiter(t *testing.T) { }(peer.ID(fmt.Sprintf("testpeer%d", i))) } - time.Sleep(time.Millisecond * 1000) - fmt.Println("NUM GOROS: ", runtime.NumGoroutine()) for i := 0; i < 20; i++ { select { case <-success: