From 5583fbb515ef584a85d3bd3f5f58d0259294f5b5 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Tue, 9 Apr 2019 04:27:48 +0200 Subject: [PATCH] Update request_timeout_microsecond timeout (#1101) 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);