Derby
  1. Derby
  2. DERBY-4564

Replication tests do not pick up derby.tests.networkServerStartTimeout setting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: 10.5.3.1, 10.6.1.0
    • Component/s: Test
    • Labels:
      None
    • Issue & fix info:
      Newcomer, Patch Available

      Description

      The property derby.tests.networkServerStartTimeout is sometimes used with testing to extend the wait for network server when JVM options are specified that make the start very slow, for example, for IBM JVM testing, -Xnoquickstart  is used for some runs. The replication tests do not seem to pick up this property. Even when set to 90000 the tests wait only for 75 seconds.

      testReplication_Local_StateTest_part1_1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1_1)java.lang.Exception: Could not ping in 150 * 500ms.: DRDA_NoIO.S
      :Could not connect to Derby Network Server on host 127.0.0.1, port 1527: Connection refused
      at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.ping(ReplicationRun.java:2804)
      at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.pingServer(ReplicationRun.java:2776)
      at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.startServer(ReplicationRun.java:2453)
      at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1_1.testReplication_Local_StateTest_part1_1(ReplicationRun_Local_StateTest_part1_1.java:86)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:63)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
      at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:199)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)

      1. derby-4564_diff.txt
        1 kB
        Kathey Marsden
      2. derby-4564_throwfinalexception_diff.txt
        2 kB
        Kathey Marsden
      3. derby-4564_useseconds_diff.txt
        1 kB
        Kathey Marsden

        Activity

        Gavin made changes -
        Workflow jira [ 12499889 ] Default workflow, editable Closed status [ 12800400 ]
        Kathey Marsden made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kathey Marsden made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 10.5.3.1 [ 12314182 ]
        Fix Version/s 10.6.0.0 [ 12313727 ]
        Resolution Fixed [ 1 ]
        Kathey Marsden made changes -
        Attachment derby-4564_useseconds_diff.txt [ 12438230 ]
        Kathey Marsden made changes -
        Attachment derby-4564_throwfinalexception_diff.txt [ 12436934 ]
        Kathey Marsden made changes -
        Issue & fix info [Newcomer] [Newcomer, Patch Available]
        Kathey Marsden made changes -
        Attachment derby-4564_diff.txt [ 12436749 ]
        Kathey Marsden made changes -
        Field Original Value New Value
        Assignee Kathey Marsden [ kmarsden ]
        Kathey Marsden created issue -

          People

          • Assignee:
            Kathey Marsden
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development