Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2900

DbClusterTest failure due to network configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.4
    • 2.2.5
    • jackrabbit-core
    • None

    Description

      As reported by Serge, the DbClusterTest case fails when run with certain network configuration.

      Thomas already suggested a fix:

          1. Eclipse Workspace Patch 1.0
            #P jackrabbit-core
            Index: src/test/java/org/apache/jackrabbit/core/cluster/DbClusterTest.java
            ===================================================================
          • src/test/java/org/apache/jackrabbit/core/cluster/DbClusterTest.java (revisi
            on 1067983)
            +++
            src/test/java/org/apache/jackrabbit/core/cluster/DbClusterTest.java (workin
            g copy)
            @@ -37,9 +37,9 @@
            public void setUp() throws Exception {
            deleteAll();
            server1 = Server.createTcpServer("-tcpPort", "9001", "-baseDir",

      • "./target/dbClusterTest/db1").start();
        + "./target/dbClusterTest/db1", "-tcpAllowOthers").start();
        server2 = Server.createTcpServer("-tcpPort", "9002", "-baseDir",
      • "./target/dbClusterTest/db2").start();
        + "./target/dbClusterTest/db2", "-tcpAllowOthers").start();
        FileUtils.copyFile(
        new
        File("./src/test/resources/org/apache/jackrabbit/core/cluster/repository-h2
        .xml"),
        new File("./target/dbClusterTest/node1/repository.xml"));

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: