[ 
https://issues.apache.org/jira/browse/GEODE-9048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dale Emery reassigned GEODE-9048:
---------------------------------

    Assignee: Dale Emery

> Remove the timeout on DockerizedExecHandle startup
> --------------------------------------------------
>
>                 Key: GEODE-9048
>                 URL: https://issues.apache.org/jira/browse/GEODE-9048
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 1.15.0
>            Reporter: Dale Emery
>            Assignee: Dale Emery
>            Priority: Major
>
> In the Dockerized test plugin, {{DockerizedExecHandle.start()}} throws a 
> timeout exception if the process does not start within 30 seconds. The error 
> handling code tries to abort the process, gets confused because the process 
> has not started, and throws an {{IllegalStateException}}, preventing Gradle 
> from reporting the original timeout exception.
> {{DockerizedExecHandle.start()}} is a modified copy of the code from Gradle's 
> {{DefaultExecHandle}}. Gradle's code does not have a timeout on starting the 
> process. But a successfully started process immediately connects to Gradle, 
> and Gradle throws an exception if the connection doesn't happen within 2 
> minutes.
> The {{DockerizedExecHandle}} timeout hides the real problem, which is that 
> the process takes too long to start, or too long to report that it has 
> started. Removing that timeout will allow Gradle to give better diagnostic 
> information.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to