You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by da...@apache.org on 2011/02/05 02:02:21 UTC
svn commit: r1067366 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
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