Browse Source

also increase the timeout in the testcase

Christoph Hack 12 năm trước cách đây
mục cha
commit
3f2ab75e2d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")
 	}()