db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oyste...@apache.org
Subject svn commit: r632371 [5/5] - in /db/derby/code/trunk/java/testing: ./ org/apache/derbyTesting/functionTests/tests/replicationTests/
Date Fri, 29 Feb 2008 16:10:27 GMT
Added: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/TestPreStoppedSlaveServer.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/TestPreStoppedSlaveServer.java?rev=632371&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/TestPreStoppedSlaveServer.java
(added)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/TestPreStoppedSlaveServer.java
Fri Feb 29 08:10:21 2008
@@ -0,0 +1,122 @@
+/*
+ 
+Derby - Class org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStoppedSlaveServer
+ 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+ 
+   http://www.apache.org/licenses/LICENSE-2.0
+ 
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+ 
+ */
+
+package org.apache.derbyTesting.functionTests.tests.replicationTests;
+
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.sql.Statement;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import org.apache.derbyTesting.junit.BaseJDBCTestCase;
+import org.apache.derbyTesting.junit.TestConfiguration;
+
+/**
+ * Test replication commands against an operational slave server.
+ */
+public class TestPreStoppedSlaveServer extends ClientRunner
+{
+    
+    public TestPreStoppedSlaveServer(String testcaseName)
+    {
+        super(testcaseName);
+    }
+    
+    public static Test suite()
+        throws Exception
+    {
+        System.out.println("**** TestPreStoppedSlaveServer.suite()");
+        
+        initEnvironment();
+        
+        // String masterHostName = System.getProperty("test.serverHost", "localhost");
+        // int masterPortNo = Integer.parseInt(System.getProperty("test.serverPort", "1527"));
+        
+        TestSuite suite = new TestSuite("TestPreStoppedSlaveServer");
+                
+        suite.addTest(TestPreStoppedSlaveServer.suite(slaveServerHost, slaveServerPort));
+        System.out.println("*** Done suite.addTest(TestPreStoppedSlaveServer.suite())");
+        
+        return (Test)suite;
+    }
+
+    /**
+     * Adds this class to the *existing server* suite.
+     */
+    public static Test suite(String serverHost, int serverPort)
+    {
+        System.out.println("*** TestPreStoppedSlaveServer.suite(serverHost,serverPort)");
+     
+        Test t = TestConfiguration.existingServerSuite(TestPreStoppedSlaveServer.class,false,serverHost,serverPort);
+        System.out.println("*** Done TestConfiguration.existingServerSuite(TestPreStoppedSlaveServer.class,false,serverHost,serverPort)");
+        return t;
+   }
+
+    
+    /**
+     *
+     *
+     * @throws SQLException, IOException, InterruptedException
+     */
+    public void test()
+    throws SQLException, IOException, InterruptedException
+    {
+        System.out.println("**** EMPTY!!! TestPreStoppedSlaveServer.test() "+
+                getTestConfiguration().getJDBCClient().getJDBCDriverName());
+        
+        /*
+        Connection conn = null;
+        String db = slaveDatabasePath +"/"+ReplicationRun.slaveDbSubPath +"/"+ replicatedDb;
+        String connectionURL = "jdbc:derby:"  
+                + "//" + slaveServerHost + ":" + slaveServerPort + "/"
+                + db
+                + ";startMaster=true"
+                + ";slavehost=" + slaveServerHost 
+                + ";slaveport=" + slaveServerPort;
+        System.out.println(connectionURL);
+        // First StartSlave connect ok:
+        try
+        {
+            conn = DriverManager.getConnection(connectionURL);
+            System.out.println("1. Successfully connected as: " + connectionURL);
+        }
+        catch (SQLException se)
+        {
+            int ec = se.getErrorCode();
+            String ss = se.getSQLState();
+            String msg = ec + " " + ss + " " + se.getMessage();
+            System.out.println(msg);
+            throw se; // FIXME!?
+        }
+         */
+        
+    }
+    
+    public void verifyTest()
+    throws SQLException, IOException, InterruptedException
+    {
+
+    }
+}

Propchange: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/TestPreStoppedSlaveServer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Utils.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Utils.java?rev=632371&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Utils.java
(added)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Utils.java
Fri Feb 29 08:10:21 2008
@@ -0,0 +1,226 @@
+/*
+ 
+Derby - Class org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun
+ 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+ 
+   http://www.apache.org/licenses/LICENSE-2.0
+ 
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+ 
+ */
+package org.apache.derbyTesting.functionTests.tests.replicationTests;
+
+import java.nio.channels.FileChannel;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.derby.drda.NetworkServerControl;
+import java.net.InetAddress;
+import java.net.Inet6Address;
+
+import java.sql.*;
+import java.io.*;
+import java.util.*;
+
+import org.apache.derbyTesting.junit.BaseTestCase;
+import org.apache.derbyTesting.junit.JDBC;
+
+/**
+ * Utilities for replication test framework:
+ * cleaning directories, copying directories for 
+ * test databases.
+ * Debug printing.
+ */
+
+class Utils
+{
+    boolean printDebug = true;
+    
+    private final static String FS = File.separator;
+    
+    ///////////////////////////////////////////////////////////////////////////
+    // File utilities:
+    
+    /**
+     * Deletes files in the given directory.
+     * NB! May also delete subdirectories!
+     * @param dir where to delete files.
+     * @param deleteRootDirectory if true deletes also the given root directory.
+     * @return number of files/directories deleted.
+     * @throws IOException if operation fails.
+     */
+    void cleanDir(String dir, boolean deleteRootDirectory)
+    throws Exception
+    {
+        try
+        {
+            File rootDir = new File(dir);
+            if (rootDir.isDirectory())
+            {
+                DEBUG("cleanDir: " + dir);
+                rmFiles(rootDir,deleteRootDirectory);
+            }
+            else
+            {
+                throw new IOException("Given path is not a directory: " + dir);
+            }
+        }
+        catch (Exception ex)
+        {
+            DEBUG("Got exception " + ex.getMessage());
+            throw new Exception("Exception deleting files " + ex);
+        }
+    }
+    /**
+     * Recursively delete files and directories in param dir.
+     * @param dir Where to delete files.
+     * @param rmdir If true delete also the given root directory (param dir).
+     * @throws IOException If operation fails.
+     */
+    void rmFiles(File dir,boolean rmdir) throws Exception
+    {
+        // DEBUG("Getting dir " + dir.getAbsolutePath());
+        String currDir = dir.getAbsolutePath();
+        if (dir.isDirectory())
+        {
+            String[] filelist = dir.list();
+            // DEBUG("Dir has " + filelist.length + " files");
+            for (int i = 0; i<filelist.length;i++)
+            {
+                // DEBUG("adding files, i " + i);
+                File f = new File(currDir + FS + filelist[i]);
+                if (f.isDirectory())
+                {
+                    // DEBUG("file is dir, get recursive");
+                    rmFiles(f,true);
+                }
+                else
+                {
+                    // DEBUG("delete file " + f.getAbsolutePath());
+                    boolean deleted = f.delete();
+                    // DEBUG("file deleted " + deleted);
+                }
+            }
+            
+            if (rmdir)
+            {
+                DEBUG("deleting directory " + dir.getAbsolutePath());
+                dir.delete();
+            }
+        }
+        else
+        {
+            DEBUG("deleting file " +dir.getAbsolutePath());
+            dir.delete();
+        }
+    }
+
+    /**
+     * Copy directory sourcePath into directory destPath
+     * @param sourcePath Directory to copy
+     * @param destPath Directory to copy into
+     * @return number of files copied.
+     * @throws IOException If copying failed.
+     */
+    void copyDir(String sourcePath, String destPath)
+    throws IOException
+    {
+        DEBUG("copyDir from " + sourcePath + " to " + destPath);
+        copyFiles(sourcePath,destPath);
+    }
+   /** Copy files
+    * @param srcPath Directory or file to copy from
+    * @param destPath Directory or file to copy to
+    * @throws IOException If copying failed.
+    * @return number of files copied.
+    */
+    void copyFiles(String srcDir, String destDir) 
+    throws IOException
+    {
+        File src = new File(srcDir);
+        File dest = new File(destDir);
+        
+        if (src.isDirectory())
+        {
+            DEBUG("Make dir: " + dest.getAbsolutePath());
+            dest.mkdirs();
+            String list[] = src.list();
+            for (int i = 0; i < list.length; i++)
+            {
+                String srcFile = src.getAbsolutePath() + FS + list[i];
+                String destFile = dest.getAbsolutePath() + FS + list[i];
+                // DEBUG("Copy " + srcFile + " to " + destFile);
+                copyFiles(srcFile , destFile);
+            }
+        }
+        else
+        {
+            // copy(src,dest);
+            NIOcopy(src,dest);
+        }
+    }
+    private void copy(File source, File dest) 
+    throws IOException
+    {
+        // DEBUG("Copy file " + source.getAbsolutePath() + " to " + dest.getAbsolutePath());
+        FileInputStream src = new FileInputStream(source);
+        FileOutputStream dst = new FileOutputStream(dest);
+        int c;
+        while ((c = src.read()) >= 0)
+            dst.write(c);
+        src.close();
+        dst.close();
+    }
+    private void NIOcopy(File source, File dest) 
+    throws IOException
+    {
+        // DEBUG("NIO Copy file " + source.getAbsolutePath() + " to " + dest.getAbsolutePath());
+        FileChannel sourceCh = new FileInputStream(source).getChannel();
+        FileChannel targetCh = new FileOutputStream(dest).getChannel();
+        sourceCh.transferTo(0, sourceCh.size(), targetCh);
+        sourceCh.close();
+        targetCh.close();
+    }
+    
+    void writeToFile(String text, String outFile)
+    throws IOException
+    {
+        DEBUG("writeToFile " + outFile);
+        FileWriter out = new FileWriter(outFile);
+        out.write(text);
+        out.close();
+    }
+    
+    ///////////////////////////////////////////////////////////////////////////////////
+    // Debug
+        
+    void DEBUG(String s)
+    {
+        if ( printDebug )
+            System.out.println(s);
+    }
+    void DEBUG(String s, PrintWriter out)
+    {
+        if ( printDebug )
+            out.println(s);
+    }
+    
+    // Sleep w/Debug...
+    void sleep(long sleepTime, String ID) 
+    throws InterruptedException
+    {
+        DEBUG(ID + ": sleep " + sleepTime + "ms.");
+        Thread.sleep(sleepTime);
+    }
+
+}

Propchange: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Utils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/build.xml?rev=632371&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/build.xml
(added)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/build.xml
Fri Feb 29 08:10:21 2008
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to you under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- ==================================================================== -->
+<!--                       Derby build file                          -->
+<!-- ==================================================================== -->
+
+<project default="FTOtestsubdir" basedir="../../../../../../../.." >
+
+<!-- ==================================================================== -->
+<!--                           Set properties                             -->
+<!-- ==================================================================== -->
+
+  <!-- User settings -->
+  <property file="${user.home}/ant.properties"/>
+
+  <!-- Set property lib dir -->
+  <property name="properties.dir" value="tools/ant/properties" />
+
+  <!-- Significant dirs -->
+  <property file="${properties.dir}/dirs.properties"/>
+  <property file="${properties.dir}/derbytesting.properties"/>
+
+  <!-- Compiler settings -->
+  <property file="${properties.dir}/sane${sanity}.properties"/>
+  <property file="${properties.dir}/defaultcompiler.properties"/>
+  <property file="${properties.dir}/${build.compiler}.properties"/>
+
+  <!-- Parser properties -->
+  <!--property file="${properties.dir}/parser.properties"/-->
+
+  <!-- Compile-time classpath properties files -->
+  <property file="${properties.dir}/extrapath.properties"/>
+  <property file="${properties.dir}/compilepath.properties"/>
+
+  <!-- Release and Version info -->
+  <property file="${properties.dir}/release.properties"/>
+
+  <!-- derby testing specific properties files -->
+  <property file="${ant.home}/properties/derbytesting.properties"/>
+  <property file="${user.home}/properties/derbytesting.properties"/>
+  <property name="this.dir" value="${derby.testing.functest.dir}/tests/replicationTests"/>
+
+<!--             ============ Begin Targets ==============                -->
+ 
+  <target name="FTOtestsubdir" depends="compilet1"/>
+
+  <!-- mkdir / init target may not be necessary, just here for reference... -->
+  <target name="init">
+    <mkdir dir="${out.dir}/${derby.testing.functest.dir}/tests/replicationTests"/>
+  </target>
+
+  <target name="compilet1">
+    <javac
+      source="1.4"
+      target="1.4"
+      bootclasspath="${empty}"
+      nowarn="on"
+      debug="true"
+      depend="${depend}"
+      deprecation="${deprecation}"
+      optimize="${optimize}"
+      proceed="${proceed}"
+      verbose="${verbose}" 
+      srcdir="${derby.testing.src.dir}"
+      destdir="${out.dir}">
+      <classpath>
+        <pathelement path="${compile.classpath}"/>
+	<pathelement path="${junit}"/>
+      </classpath>
+      <include name="${this.dir}/*.java"/>
+    </javac>
+  </target>
+
+
+<!--             ============= End Targets ==============                -->
+
+<!--             ============= End Project ==============                -->
+
+</project>
+

Propchange: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/replicationtest.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/replicationtest.properties?rev=632371&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/replicationtest.properties
(added)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/replicationtest.properties
Fri Feb 29 08:10:21 2008
@@ -0,0 +1,189 @@
+######################################################################
+# Example replicationtest.properties
+# Your variant should be placed in Derby's ${user.dir} 
+# when running tests.
+######################################################################
+
+######################################################################
+# Optionally run test without replication for (performance) comparison:
+# Default=false. test.runUnReplicated=true 
+
+######################################################################
+
+test.testUser=os136789
+# Needed to execute 'ssh' against server and client hosts.
+
+# test.replicationTest and test.replicationVerify are full paths to
+# sql test scripts or JUnit test classes.
+
+# test.replicationTest=/home/os136789/Replication/testing/1.sql
+# test.replicationVerify=/home/os136789/Replication/testing/v1.sql
+
+
+# test.replicationTest=org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationTestRun
+# test.replicationVerify=/home/os136789/Replication/testing/verify_ReplicationTestRun.sql
+
+# test.replicationTest=org.apache.derbyTesting.functionTests.tests.replicationTests.SimplePerfTest
+# test.inserts=10000
+# test.commitFreq=100
+# test.replicationVerify=/home/os136789/Replication/testing/verify_SimplePerfTest.sql
+
+# test.replicationTest=org.apache.derbyTesting.functionTests.tests.replicationTests.KillSlave
+# test.replicationVerify=/home/os136789/Replication/testing/verify_KillSlave.sql
+
+
+# test.sqlLoadInit may be specific for each load
+test.sqlLoadInit=/home/os136789/Replication/testing/loadinit.sql
+
+######################################################################
+
+test.printDebug=true
+
+test.databaseName=test
+test.master.databasepath=/home/os136789/Replication/testing
+test.slave.databasepath=/home/os136789/Replication/testing
+
+test.masterServerHost=urd11
+test.slaveServerHost=urd12
+test.testClientHost=urd13
+
+#############################
+# Jvm to be used for client and default for master and slave:
+jvm.version=/usr/local/java/jdk1.6/jre/lib
+
+# Optional specific Jvm to be used for master
+jvm.masterversion=/usr/local/java/jdk1.6/jre/lib
+
+# Optional specific Jvm to be used for slave
+jvm.slaveversion=/usr/local/java/jdk1.6/jre/lib
+
+##############################
+# Derby version to be used for client and default for master and slave:
+#-----------------------------
+derby.version=/home/os136789/Apache/myDerbySandbox/trunk/jars/insane
+
+# Optional specific Derby to be used for master
+## derby.masterversion=/home/os136789/Apache/myDerbySandbox/trunk/jars/insane
+derby.masterversion=/home/os136789/Replication/trunk_master/jars/insane
+
+# Optional specific Derby to be used for slave
+## derby.slaveversion=/home/os136789/Apache/myDerbySandbox/trunk/jars/insane
+derby.slaveversion=/home/os136789/Replication/trunk_slave/jars/insane
+
+# test.masterServerPort=2527
+# Must use default 1527 if using junit test as load since 1527 is currently hardcoded.
+test.masterServerPort=1527
+test.slaveServerPort=4527
+test.slaveReplPort=6666
+
+#-----------------------------
+# Use a special testing jar? E.g. your own experimental:
+test.derbyTestingJar=/home/os136789/Apache/myDerbySandbox/trunk/jars/insane/derbyTesting.jar
+
+##############################
+# Utilities...
+junit_jar=/usr/local/share/java/junit3.8.2/junit.jar
+ 
+##############################
+# PoC V2C: sleep between startreplication and startslave to make sure master is ready!
+test.sleepTime=15000
+
+
+############################################################
+############################################################
+##
+## Specifying the possible Loads on the replication master and slave servers
+## Example: 'test.masterPreRepl=true' means the masterPreRepl should be run and
+##          further specification is found in 'test.masterPreRepl.XXX=...'
+##
+test.masterPreRepl=false
+test.masterPreRepl.load=/home/os136789/Replication/testing/insert.sql
+test.masterPreRepl.database=masterPreRepl
+test.masterPreRepl.existingDB=false
+test.masterPreRepl.clientHost=supra05
+
+test.masterPostRepl=false
+test.masterPostRepl.load=/home/os136789/Replication/testing/insert.sql
+test.masterPostRepl.database=masterPostRepl
+test.masterPostRepl.existingDB=false
+test.masterPostRepl.clientHost=supra06
+
+test.slavePreSlave=false
+test.slavePreSlave.load=/home/os136789/Replication/testing/insert.sql
+test.slavePreSlave.database=slavePreSlave
+test.slavePreSlave.existingDB=false
+test.slavePreSlave.clientHost=supra05
+
+test.masterPostSlave=false
+test.masterPostSlave.load=/home/os136789/Replication/testing/insert.sql
+test.masterPostSlave.database=masterPostSlave
+test.masterPostSlave.existingDB=false
+test.masterPostSlave.clientHost=supra06
+
+test.slavePostSlave=false
+test.slavePostSlave.load=/home/os136789/Replication/testing/insert.sql
+test.slavePostSlave.database=slavePostSlave
+test.slavePostSlave.existingDB=false
+test.slavePostSlave.clientHost=supra05
+
+##
+##
+############################################################
+############################################################
+
+############################################################
+############################################################
+##
+## Specifying tests to run in the different states of
+## replication.
+## See ReplicationRun.java:testreplication() for use.
+##
+##
+
+# Only ONE-1 of the following will be meaningful in one specific test run.
+# test.replicationTest would normally be empty when one of the below is activated.
+
+# Test to run:
+# test.PreStartedMasterServer=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStartedMasterServer
+# true: Return from test framework immediatly:
+# Default false. test.PreStartedMasterServer.return=true
+
+# test.PreStartedSlaveServer=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStartedSlaveServer
+# test.PreStartedSlaveServer.return=true
+
+# The next will star/connect to the master - even without StartMaster=true; beeing accepted!
+# I.e. return=true if done.
+# test.PreStartedMaster=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStartedMaster
+# test.PreStartedMaster.return=true
+
+# test.PreInitSlave=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreInitSlave
+# test.PreInitSlave.return=true
+
+# The next will start/connect to the slave - even without StartSlave=true; beeing accepted!
+# I.e.must use return=true if set.
+# test.PreStartedSlave=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStartedSlave
+# test.PreStartedSlave.return=true
+# If continue: on startslave: PoC: startServer@urd12:4527 pDoR NSC: Database test already
booted. Cannot start slave mode. Exiting!
+
+# test.PostStartedMasterAndSlave=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPostStartedMasterAndSlave
+# test.PostStartedMasterAndSlave.return=true
+
+# test.PreStoppedMaster=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStoppedMaster
+# test.PreStoppedMaster.return=true
+
+# test.PreStoppedMasterServer=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStoppedMasterServer
+# test.PreStoppedMasterServer.return=true
+
+# test.PreStoppedSlave=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStoppedSlave
+# test.PreStoppedSlave.return=true
+
+# test.PreStoppedSlaveServer=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPreStoppedSlaveServer
+# test.PreStoppedSlaveServer.return=true
+
+# test.PostStoppedSlaveServer=org.apache.derbyTesting.functionTests.tests.replicationTests.TestPostStoppedSlaveServer
+# test.PostStoppedSlaveServer.return=true
+
+##
+##
+############################################################
+############################################################

Propchange: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/replicationtest.properties
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message