You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/11/13 14:34:12 UTC
[jira] [Created] (DERBY-5992) Use BaseTestCase.execJavaCmd() to
start process from NetworkServerTestSetup
Knut Anders Hatlen created DERBY-5992:
-----------------------------------------
Summary: Use BaseTestCase.execJavaCmd() to start process from NetworkServerTestSetup
Key: DERBY-5992
URL: https://issues.apache.org/jira/browse/DERBY-5992
Project: Derby
Issue Type: Improvement
Components: Test
Affects Versions: 10.10.0.0
Reporter: Knut Anders Hatlen
Assignee: Knut Anders Hatlen
Priority: Minor
NetworkServerTestSetup invokes Runtime.exec(String[]) manually when it needs to start a sub-process. It should use BaseTestCase.execJavaCmd(). In addition to reducing the amount of code, it would make the server processes pick up the flags they need to work well with EMMA and JaCoCo.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DERBY-5992) Use BaseTestCase.execJavaCmd() to
start process from NetworkServerTestSetup
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-5992.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.10.0.0
All tests passed with the patch. Committed revision 1409113.
> Use BaseTestCase.execJavaCmd() to start process from NetworkServerTestSetup
> ---------------------------------------------------------------------------
>
> Key: DERBY-5992
> URL: https://issues.apache.org/jira/browse/DERBY-5992
> 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: d5992-1a.diff
>
>
> NetworkServerTestSetup invokes Runtime.exec(String[]) manually when it needs to start a sub-process. It should use BaseTestCase.execJavaCmd(). In addition to reducing the amount of code, it would make the server processes pick up the flags they need to work well with EMMA and JaCoCo.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5992) Use BaseTestCase.execJavaCmd() to
start process from NetworkServerTestSetup
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5992:
--------------------------------------
Attachment: d5992-1a.diff
I've started a test run on the attached d5992-1a.diff patch, which makes NetworkServerTestSetup use the helper method to start a sub-process.
> Use BaseTestCase.execJavaCmd() to start process from NetworkServerTestSetup
> ---------------------------------------------------------------------------
>
> Key: DERBY-5992
> URL: https://issues.apache.org/jira/browse/DERBY-5992
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.10.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d5992-1a.diff
>
>
> NetworkServerTestSetup invokes Runtime.exec(String[]) manually when it needs to start a sub-process. It should use BaseTestCase.execJavaCmd(). In addition to reducing the amount of code, it would make the server processes pick up the flags they need to work well with EMMA and JaCoCo.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira