Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/httptransport/transport_test.go')
-rw-r--r--internal/httptransport/transport_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/httptransport/transport_test.go b/internal/httptransport/transport_test.go
index a4105bef..5df0175a 100644
--- a/internal/httptransport/transport_test.go
+++ b/internal/httptransport/transport_test.go
@@ -92,4 +92,7 @@ func TestInternalTransportShouldHaveCustomConnectionPoolSettings(t *testing.T) {
require.EqualValues(t, 100, InternalTransport.MaxIdleConnsPerHost)
require.EqualValues(t, 0, InternalTransport.MaxConnsPerHost)
require.EqualValues(t, 90*time.Second, InternalTransport.IdleConnTimeout)
+ require.EqualValues(t, 10*time.Second, InternalTransport.TLSHandshakeTimeout)
+ require.EqualValues(t, 15*time.Second, InternalTransport.ResponseHeaderTimeout)
+ require.EqualValues(t, 1*time.Second, InternalTransport.ExpectContinueTimeout)
}