diff --git a/src/cli/test/bundle_git/test.rb b/src/cli/test/bundle_git/test.rb index 184680f9bab..b1d6fa9b59d 100644 --- a/src/cli/test/bundle_git/test.rb +++ b/src/cli/test/bundle_git/test.rb @@ -25,4 +25,4 @@ def local_gems rescue LoadError did_fail = true end -raise "Should not load openstudio-standards" unless did_fail == true +raise "Should allow to load the embedded openstudio-standards" unless did_fail == false diff --git a/src/utilities/bcl/RemoteBCL.cpp b/src/utilities/bcl/RemoteBCL.cpp index 5219b687eeb..1c4d09fb04b 100644 --- a/src/utilities/bcl/RemoteBCL.cpp +++ b/src/utilities/bcl/RemoteBCL.cpp @@ -64,6 +64,9 @@ namespace openstudio{ // as it will allow us to change http_client_config (SSL settings etc) in only one place web::http::client::http_client RemoteBCL::getClient(const std::string& url) const { web::http::client::http_client_config config; + // bcl.nrel.gov can be slow to respond to client requests so bump the default of 30 seconds to 60 to account for lengthy response time. + // this is timeout is for each send and receive operation on the client and not the entire client session. + config.set_timeout(std::chrono::seconds(60)); config.set_validate_certificates(false); return web::http::client::http_client(utility::conversions::to_string_t(url), config);