Explorar o código

also increase the timeout in the testcase

Christoph Hack %!s(int64=12) %!d(string=hai) anos
pai
achega
3f2ab75e2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")
 	}()