From b0417394e0c5d945adad3e94ebc7af8aebd2fd8c Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Tue, 2 Apr 2019 16:32:14 +0200 Subject: [PATCH] Update request_timeout_microsecond timeout Occasionally, on heavy loaded servers, or slow machines, 500 micro seconds is a too strict timeout. Bump to 900 micro seconds instead --- Release/tests/functional/http/client/connections_and_errors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release/tests/functional/http/client/connections_and_errors.cpp b/Release/tests/functional/http/client/connections_and_errors.cpp index 9ddcc09fb7..aea69b8c08 100644 --- a/Release/tests/functional/http/client/connections_and_errors.cpp +++ b/Release/tests/functional/http/client/connections_and_errors.cpp @@ -156,7 +156,7 @@ SUITE(connections_and_errors) test_http_server::scoped_server scoped(m_uri); t = scoped.server()->next_request(); http_client_config config; - config.set_timeout(std::chrono::microseconds(500)); + config.set_timeout(std::chrono::microseconds(900)); http_client client(m_uri, config); auto responseTask = client.request(methods::GET);