mirror of https://github.com/status-im/consul.git
tests: increase TLSHandshakeTimeout to help slow tests (#6864)
Fixes https://github.com/hashicorp/consul/issues/6858.
This commit is contained in:
parent
6817676223
commit
f457cfa965
|
@ -154,6 +154,7 @@ func TestHTTPServer_H2(t *testing.T) {
|
|||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
transport := api.DefaultConfig().Transport
|
||||
transport.TLSHandshakeTimeout = 30 * time.Second
|
||||
transport.TLSClientConfig = tlsccfg
|
||||
if err := http2.ConfigureTransport(transport); err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
|
|
Loading…
Reference in New Issue