From ddfe933f4977c590b2d9b1f77fd45a35eb441fe6 Mon Sep 17 00:00:00 2001 From: Alex Mirski-Fitton Date: Thu, 11 Nov 2021 15:10:42 +0000 Subject: [PATCH] Allow longer for webserver to respond --- test/docker/devconfig_test_util.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/docker/devconfig_test_util.go b/test/docker/devconfig_test_util.go index 6b13579..7cdbae5 100644 --- a/test/docker/devconfig_test_util.go +++ b/test/docker/devconfig_test_util.go @@ -1,7 +1,8 @@ +//go:build mqdev // +build mqdev /* -© Copyright IBM Corporation 2018, 2019 +© Copyright IBM Corporation 2018, 2021 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -49,7 +50,7 @@ var insecureTLSConfig *tls.Config = &tls.Config{ func waitForWebReady(t *testing.T, cli *client.Client, ID string, tlsConfig *tls.Config) { httpClient := http.Client{ - Timeout: time.Duration(3 * time.Second), + Timeout: time.Duration(10 * time.Second), Transport: &http.Transport{ TLSClientConfig: tlsConfig, },