db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1104477 - in /db/derby/code/branches/10.7: ./ java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Date Tue, 17 May 2011 19:17:26 GMT
Author: kmarsden
Date: Tue May 17 19:17:26 2011
New Revision: 1104477

URL: http://svn.apache.org/viewvc?rev=1104477&view=rev
Log:
port revision 	#1085078 from trunk from DERBY-5141

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/branches/10.7/   (props changed)
    db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java

Propchange: db/derby/code/branches/10.7/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue May 17 19:17:26 2011
@@ -1 +1 @@
-/db/derby/code/trunk:1035603,1036769,1038514,1038813,1039084,1039268,1040658,1041338,1043227,1043389,1044096,1051026,1053724,1055169,1059888,1060480,1062096,1063809,1065061,1066290,1067250,1067357,1069661,1071463,1071886,1076387,1078461,1078693,1081455,1091000,1097247
+/db/derby/code/trunk:1035603,1036769,1038514,1038813,1039084,1039268,1040658,1041338,1043227,1043389,1044096,1051026,1053724,1055169,1059888,1060480,1062096,1063809,1065061,1066290,1067250,1067357,1069661,1071463,1071886,1076387,1078461,1078693,1081455,1085078,1091000,1097247

Modified: db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java?rev=1104477&r1=1104476&r2=1104477&view=diff
==============================================================================
--- db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
(original)
+++ db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Tue May 17 19:17:26 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