Преглед изворни кода

also increase the timeout in the testcase

Christoph Hack пре 12 година
родитељ
комит
3f2ab75e2d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      conn_test.go

+ 1 - 1
conn_test.go

@@ -60,7 +60,7 @@ func TestTimeout(t *testing.T) {
 	}
 
 	go func() {
-		<-time.After(1 * time.Second)
+		<-time.After(2 * time.Second)
 		t.Fatal("no timeout")
 	}()