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/22 17:27:00 UTC

[jira] [Created] (SLING-9757) Add configurable connection timeout for SlingClient

Eric Norman created SLING-9757:
----------------------------------

             Summary: 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
             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)