db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r171164 - /incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testconnection.java
Date Fri, 20 May 2005 22:43:40 GMT
Author: fuzzylogic
Date: Fri May 20 15:43:39 2005
New Revision: 171164

URL: http://svn.apache.org/viewcvs?rev=171164&view=rev
Log:
Fix timing issue with testconnection.java on Unix platforms. waitFor()
testconnection process to end before calling exitValue() on that Process.

Committed for David Van Couvering <David.Vancouvering@sun.com>

Modified:
    incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testconnection.java

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testconnection.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testconnection.java?rev=171164&r1=171163&r2=171164&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testconnection.java
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testconnection.java
Fri May 20 15:43:39 2005
@@ -115,6 +115,9 @@
 		prout.Wait();
 		prerr.Wait();
         
+        // wait until the process exits
+        pr.waitFor();
+        
         // DERBY-214
         if ( pr.exitValue() != expectedExitCode )
         {



Mime
View raw message