[
https://issues.apache.org/jira/browse/DERBY-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Waagan closed DERBY-3510.
----------------------------------
Assignee: Kathey Marsden
Closing, as the duplicate has been fixed and closed.
Assigned to Kathey, who fixed the problem.
> NetworkServerTestSetup should use the same JVM version for spawned servers as
> the test itself
> ----------------------------------------------------------------------------------------------
>
> Key: DERBY-3510
> URL: https://issues.apache.org/jira/browse/DERBY-3510
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.3.2.1
> Environment: JUnit tests using spawned network servers
> Reporter: John H. Embretsen
> Assignee: Kathey Marsden
> Priority: Minor
>
> org.apache.derbyTesting.junit.NetworkServerTestSetup is able to set up, start
> and stop a Network Server in a separate process from the test JVM. This
> feature is needed by a number of tests which require setting command line
> options at server startup.
> Currently, NetworkServerTestSetup assumes that "java" is the name of the JVM
> executable and that it is available in the default PATH. This is not always
> optimal, as it requires that the tester is aware that the Network server does
> not necessarily run with the same JVM (version and vendor) as the one being
> used to run the test itself.
> For example, if the PATH environment variable includes the path to JDK 1.5,
> but the test is started using JDK 6, the server will not run with the same
> JVM version as the client, which is probably not what the tester intended.
> Ideally this should probably be configurable, but a good default seems to be
> to use the same version for spawned servers as for the test client.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.