You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2020/09/27 17:51:00 UTC
[jira] [Closed] (SLING-9757) Add configurable connection timeout
for SlingClient
[ https://issues.apache.org/jira/browse/SLING-9757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Norman closed SLING-9757.
------------------------------
Completed with the 2.0.4 release.
> Add configurable connection timeout for SlingClient
> ---------------------------------------------------
>
> Key: SLING-9757
> URL: https://issues.apache.org/jira/browse/SLING-9757
> Project: Sling
> Issue Type: Improvement
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: Apache Sling Testing Clients 2.0.4
>
>
> Occasionally during execution of test automation, the SlingTestBase.waitForServerReady() call is getting stuck when the GET request to check if the server is ready doesn't return a response in a timely manner.
> To avoid these bad requests hanging indefinitely, it should be possible to configure a connection timeout.
> Add handling of a new "sling.client.connection.timeout.seconds" system property so the user can supply the connection timeout duration in seconds.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)