Jelajahi Sumber

also increase the timeout in the testcase

Christoph Hack 12 tahun lalu
induk
melakukan
3f2ab75e2d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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")
 	}()