You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Created) (JIRA)" <ji...@apache.org> on 2012/04/02 21:27:21 UTC

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

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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira