[
https://issues.apache.org/jira/browse/SLING-9757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Norman resolved SLING-9757.
--------------------------------
Resolution: Fixed
Fixed at:
[https://github.com/apache/sling-org-apache-sling-testing-clients/commit/7c0fe62e000e6f86fa39489cc7a7a25628fe9107]
Also added new unit tests to verify the functionality.
> 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)