db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DERBY-5791) Replication tests should use BaseTestCase.execJavaCmd() to run local commands
Date Wed, 30 May 2012 11:00:24 GMT

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

Knut Anders Hatlen resolved DERBY-5791.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.10.0.0

Thanks, Dag. Committed r1344191.
                
> Replication tests should use BaseTestCase.execJavaCmd() to run local commands
> -----------------------------------------------------------------------------
>
>                 Key: DERBY-5791
>                 URL: https://issues.apache.org/jira/browse/DERBY-5791
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: d5791-1a.diff
>
>
> The replication tests invoke Runtime.exec() directly in order to spawn processes. The
sub-processes that run on the same host as the main test process, should instead be started
with the helper method BaseTestCase.execJavaCmd(). Having all the tests use the helper method
would make it easier if we for example want to pass specific flags to all sub-processes created
in a test run.
> Note that the replication tests also have code for starting processes on a remote host
via ssh. BaseTestCase.execJavaCmd() cannot do that, so only local processes can be started
with the helper method. When the replication tests run as part of suites.All, all the spawned
processes run locally.

--
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

        

Mime
View raw message