X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1586823b65c7ec7656626e491a31f3f9516a4a56..a3851eec63fb52c1f8121395d0092f4aff25405f:/tools/keep-exercise/keep-exercise.go diff --git a/tools/keep-exercise/keep-exercise.go b/tools/keep-exercise/keep-exercise.go index 706664ce28..6c8a866291 100644 --- a/tools/keep-exercise/keep-exercise.go +++ b/tools/keep-exercise/keep-exercise.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + // Testing tool for Keep services. // // keepexercise helps measure throughput and test reliability under @@ -53,7 +57,13 @@ func main() { log.Fatal(err) } kc.Want_replicas = *Replicas - kc.Client.(*http.Client).Timeout = 10 * time.Minute + + transport := *(http.DefaultTransport.(*http.Transport)) + transport.TLSClientConfig = arvadosclient.MakeTLSConfig(arv.ApiInsecure) + kc.HTTPClient = &http.Client{ + Timeout: 10 * time.Minute, + Transport: &transport, + } overrideServices(kc)