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 "Øystein Grøvlen (JIRA)" <de...@db.apache.org> on 2005/05/20 11:58:55 UTC

[jira] Commented: (DERBY-303) derbynet/testconnection.java fails

     [ http://issues.apache.org/jira/browse/DERBY-303?page=comments#action_65847 ]
     
Øystein Grøvlen commented on DERBY-303:
---------------------------------------

This seems to be a regression from DERBY-214.
The call to exitValue that fails was added in DERBY-214.

It may seem like the preceeding calls to ProcessStreamResult.Wait() does not guarantee that the process has terminated.


> derbynet/testconnection.java fails
> ----------------------------------
>
>          Key: DERBY-303
>          URL: http://issues.apache.org/jira/browse/DERBY-303
>      Project: Derby
>         Type: Bug
>   Components: Test
>     Versions: 10.1.0.0
>  Environment: Seem to occur on several platforms
>     Reporter: Øystein Grøvlen

>
> When I run the testsuite, derbynet/testconnection.java fails.
> testconnection.tmp contains the following:
> Testing testconnection
> org.apache.derby.drda.NetworkServerControl ping 
> Could not connect to Derby Network Server on host localhost, port 1527.
> java.lang.IllegalThreadStateException: process hasn't exited
>         at java.lang.UNIXProcess.exitValue(UNIXProcess.java:116)
>         at org.apache.derbyTesting.functionTests.tests.derbynet.testconnection.execCmdDumpResults(Unknown Source)
>         at org.apache.derbyTesting.functionTests.tests.derbynet.testconnection.execCmdDumpResults(Unknown Source)
>         at org.apache.derbyTesting.functionTests.tests.derbynet.testconnection.main(Unknown Source) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira