Derby
  1. Derby
  2. DERBY-4090

Provide the ability to run tests concurrently on the same machine

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None

      Description

      Because the network server tests use port 1527 for their testing, you cannot currently run concurrent test runs on a single machine. This is very inconvenient, especially on multiple cpu machines where running tests in parallel might be faster than serial runs. I think the things that need to be done for this task are:

      • Convert the remaining network server tests. as of 3/11/2009 this appear to be
        derbynet/dblook_test_net.java
        derbynet/dblook_test_net_territory.java
        derbynet/DerbyNetAutoStart.java
        [x] - derbynet/runtimeinfo.java
        derbynet/testProtocol.java
        lang/holdCursorIJ.sql
        lang/wisconsin.java
        [x] - lang/ShutdownDatabase.java
        [x] - store/holdCursorExternalSortJDBC30.sql
        [x] - store/holdCursorJDBC30.sql
      • Make the default port for the suites.All run configurable with a system property.

        Issue Links

          Activity

          Hide
          Myrna van Lunteren added a comment -

          I changed the assignee on this to myself - it seems unlikely Tiago is working on this.
          There are 4 tests remaining in the derbynetclientmats:
          derbynet/dblook_test_net.java
          derbynet/dblook_test_net_territory.java
          lang/wisconsin.java
          (via encoding suite):
          derbynet/TestEnc.java

          Show
          Myrna van Lunteren added a comment - I changed the assignee on this to myself - it seems unlikely Tiago is working on this. There are 4 tests remaining in the derbynetclientmats: derbynet/dblook_test_net.java derbynet/dblook_test_net_territory.java lang/wisconsin.java (via encoding suite): derbynet/TestEnc.java
          Hide
          Dag H. Wanvik added a comment -

          Linking this to DERBY-2419, which is related.

          Show
          Dag H. Wanvik added a comment - Linking this to DERBY-2419 , which is related.
          Hide
          Tiago R. Espinha added a comment -

          Linking this issue to the already existing convert-related issues.

          Show
          Tiago R. Espinha added a comment - Linking this issue to the already existing convert-related issues.
          Hide
          Tiago R. Espinha added a comment -

          Marking with [x] converted tests.

          Show
          Tiago R. Espinha added a comment - Marking with [x] converted tests.
          Hide
          Dag H. Wanvik added a comment -

          Note that the replication tests could also interfere with other tests since
          they open additional ports, so I guess it should be possible to configure ports these as well.

          Show
          Dag H. Wanvik added a comment - Note that the replication tests could also interfere with other tests since they open additional ports, so I guess it should be possible to configure ports these as well.

            People

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

              Dates

              • Created:
                Updated:

                Development