@cryptotaxi247 / kubo / commits / 565f9b887

leaking goroutine ++ in travis

for some reason travis has more goroutines running by def.

Juan Batiz-Benet committed Oct 19, 2014 at 06:40 UTC 565f9b8879018e5a01a7e39ed213859df2d7d7e2
2 files changed +2 -2
net/conn/conn_test.go
+1 -1
@@ -125,7 +125,7 @@ func TestCloseLeak(t *testing.T) {
125 // done!
126
127 <-time.After(time.Microsecond * 100)
128 - if runtime.NumGoroutine() > 10 {
128 + if runtime.NumGoroutine() > 20 {
129 // panic("uncomment me to debug")
130 t.Fatal("leaking goroutines:", runtime.NumGoroutine())
131 }
net/conn/secure_conn_test.go
+1 -1
@@ -150,7 +150,7 @@ func TestSecureCloseLeak(t *testing.T) {
150 // done!
151
152 <-time.After(time.Microsecond * 100)
153 - if runtime.NumGoroutine() > 10 {
153 + if runtime.NumGoroutine() > 20 {
154 // panic("uncomment me to debug")
155 t.Fatal("leaking goroutines:", runtime.NumGoroutine())
156 }