Explorar o código

integration: extend request timeout

Extend request timeout to give etcd cluster enough time to return
response.
Yicheng Qin %!s(int64=10) %!d(string=hai) anos
pai
achega
305a0d7ab9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      integration/cluster_test.go

+ 1 - 1
integration/cluster_test.go

@@ -45,7 +45,7 @@ import (
 const (
 	tickDuration   = 10 * time.Millisecond
 	clusterName    = "etcd"
-	requestTimeout = 2 * time.Second
+	requestTimeout = 20 * time.Second
 )
 
 var (