db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1085078 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Date Thu, 24 Mar 2011 19:13:13 GMT
Author: kmarsden
Date: Thu Mar 24 19:13:13 2011
New Revision: 1085078

URL: http://svn.apache.org/viewvc?rev=1085078&view=rev
Log:
DERBY-5141 SSLTest fails with java.net.SocketException: Default SSL
context init failed: null

Add some verbosity to NetworkServerTestSetup to show the server start
command with -Dderby.tests.debug=true.  This does not fix the issue.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java?rev=1085078&r1=1085077&r2=1085078&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Thu Mar 24 19:13:13 2011
@@ -33,6 +33,7 @@ import java.security.PrivilegedException
 import java.util.ArrayList;
 import junit.framework.Test;
 import org.apache.derby.drda.NetworkServerControl;
+import org.apache.derbyTesting.junit.BaseTestCase;
 
 /**
  * Test decorator that starts the network server on startup
@@ -320,12 +321,13 @@ final public class NetworkServerTestSetu
         final   String[]  command = new String[ al.size() ];
         al.toArray(command);
 
-        /* System.out.println( "XXX server startup command = ");
+        String startcommand ="";
         for (int i = 0 ; i < command.length ; i++) {
-            System.out.print( command[i] + " " );
+        	startcommand += command[i] + " ";
         }
-        System.out.println();
-        */
+
+        BaseTestCase.println("XXX server startup command = " +
+	startcommand + "\n");
 
         Process serverProcess;
         



Mime
View raw message