db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1067366 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
Date Sat, 05 Feb 2011 01:02:21 GMT
Author: dag
Date: Sat Feb  5 01:02:21 2011
New Revision: 1067366

URL: http://svn.apache.org/viewvc?rev=1067366&view=rev
Log:
DERBY-4980 Replication tests lose derby.log for slave

Patch derby-4980-1 which fixes this. 

The error is that when starting the Derby server for the slave, the
same path name is used for the slave server's working directory as for
the master server ("db_master"). This means that the slave server
doesn't get its own log file.

The patch sets the working directory for the slave correctly to the
"db_slave" directory.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java?rev=1067366&r1=1067365&r2=1067366&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
Sat Feb  5 01:02:21 2011
@@ -2184,7 +2184,7 @@ public class ReplicationRun extends Base
         
         securityOption = "-noSecurityManager";
         
-        String workingDirName = masterDatabasePath +FS+ masterDbSubPath;
+        String workingDirName = masterDatabasePath +FS+ dbSubDirPath;
         
         final String[] commandElements = {ReplicationRun.getMasterJavaExecutableName()
                 , " -Dderby.system.home=" + workingDirName



Mime
View raw message