Commit 565f9b88 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

leaking goroutine ++ in travis

for some reason travis has more goroutines running by def.
parent 3d2ba374
......@@ -125,7 +125,7 @@ func TestCloseLeak(t *testing.T) {
// done!
<-time.After(time.Microsecond * 100)
if runtime.NumGoroutine() > 10 {
if runtime.NumGoroutine() > 20 {
// panic("uncomment me to debug")
t.Fatal("leaking goroutines:", runtime.NumGoroutine())
}
......
......@@ -150,7 +150,7 @@ func TestSecureCloseLeak(t *testing.T) {
// done!
<-time.After(time.Microsecond * 100)
if runtime.NumGoroutine() > 10 {
if runtime.NumGoroutine() > 20 {
// panic("uncomment me to debug")
t.Fatal("leaking goroutines:", runtime.NumGoroutine())
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment