Derby
  1. Derby
  2. DERBY-4747

ttestSetPortPriority junit test failing in tinderbox runs with junit.framework.AssertionFailedError: Port 1537 exceeeds expected maximum.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.6.2.1
    • Fix Version/s: 10.6.2.1
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      Regression Test Failure

      Description

      The following error has happened in the last 2 tinderbox runs on 10.6 branch:
      http://dbtg.foundry.sun.com/derby/test/tinderbox_10.6_16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/963882-org.apache.derbyTesting.functionTests.suites.All_diff.txt
      http://dbtg.foundry.sun.com/derby/test/tinderbox_10.6_16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/965354-org.apache.derbyTesting.functionTests.suites.All_diff.txt
      There was 1 failure:
      1) ttestSetPortPriority(org.apache.derbyTesting.functionTests.tests.derbynet.ServerPropertiesTest)junit.framework.AssertionFailedError: Port 1537 exceeeds expected maximum. You may need to update TestConfiguration.MAX_PORTS_USED and the Wiki page at http://wiki.apache.org/db-derby/DerbyJUnitTesting if test runs now require more available ports
      at org.apache.derbyTesting.junit.TestConfiguration.getNextAvailablePort(TestConfiguration.java:1416)
      at org.apache.derbyTesting.functionTests.tests.derbynet.ServerPropertiesTest.ttestSetPortPriority(ServerPropertiesTest.java:445)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)

        Issue Links

          Activity

          Hide
          Tiago R. Espinha added a comment -

          There's been a discussion on the list about this issue. I believe Kristian said he was going to patch this.

          Discussion available here: http://old.nabble.com/regression-test-regressed-tt29154257.html#a29154257

          Show
          Tiago R. Espinha added a comment - There's been a discussion on the list about this issue. I believe Kristian said he was going to patch this. Discussion available here: http://old.nabble.com/regression-test-regressed-tt29154257.html#a29154257
          Hide
          Kristian Waagan added a comment -

          I just backported the fix from trunk with revision 965737 (see DERBY-4700).

          Show
          Kristian Waagan added a comment - I just backported the fix from trunk with revision 965737 (see DERBY-4700 ).
          Hide
          Knut Anders Hatlen added a comment -

          [bulk update] Close all resolved issues that haven't been updated for more than one year.

          Show
          Knut Anders Hatlen added a comment - [bulk update] Close all resolved issues that haven't been updated for more than one year.

            People

            • Assignee:
              Kristian Waagan
              Reporter:
              Mike Matrigali
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development