You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2016/01/09 10:51:39 UTC

[jira] [Resolved] (EXEC-66) Speed up .DefaultExecutorTest.testExec_60()

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

Siegfried Goeschl resolved EXEC-66.
-----------------------------------
    Resolution: Fixed

I disabled automatic execution of the test - it is time-consuming and fragile across multiple platforms

> Speed up .DefaultExecutorTest.testExec_60() 
> --------------------------------------------
>
>                 Key: EXEC-66
>                 URL: https://issues.apache.org/jira/browse/EXEC-66
>             Project: Commons Exec
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Minor
>
> The test tries to use the watchdog to kill the process at the same time as it is exitting.
> This requires adjusting the watchdog timer so it eventually occurs after the process completes.
> Some hosts are slower to run the process, so the max retry count has to be quite large.
> It might be worth running the ping test a few times to determine the min/max elapsed times. 
> The range of watchdog times could then be adjusted accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)