db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o..@apache.org
Subject svn commit: r830897 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/TestConfiguration.java
Date Thu, 29 Oct 2009 11:20:48 GMT
Author: ole
Date: Thu Oct 29 11:20:48 2009
New Revision: 830897

URL: http://svn.apache.org/viewvc?rev=830897&view=rev
Log:
DERBY-4427 - TestConfiguration.existingServerSuite(....,portNumber) must use the supplied
portNumber

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/TestConfiguration.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/TestConfiguration.java?rev=830897&r1=830896&r2=830897&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/TestConfiguration.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/TestConfiguration.java
Thu Oct 29 11:20:48 2009
@@ -346,11 +346,11 @@
         if (cleanDB)
         {
             suite.addTest(new CleanDatabaseTestSetup(
-                    clientExistingServerSuite(testClass, hostName, TestConfiguration.getCurrent().getPort())));
+                    clientExistingServerSuite(testClass, hostName, portNumber)));
         }
         else
         {
-            suite.addTest(clientExistingServerSuite(testClass, hostName, TestConfiguration.getCurrent().getPort()));
+            suite.addTest(clientExistingServerSuite(testClass, hostName, portNumber));
         }
 
         return (suite);



Mime
View raw message