Derby
  1. Derby
  2. DERBY-2842

derbynet/testconnection.java fails with '...Connection refused: connect' expecting 'Connection refused'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4, 10.4.1.3
    • Fix Version/s: 10.3.1.4, 10.4.1.3
    • Component/s: Test
    • Labels:
      None
    • Environment:
      OS: Win XP, Win 2003, Win Vista
      VM: Sun JVM 1.4, 1.5, 1.6
    • Bug behavior facts:
      Regression Test Failure

      Description

      See e.g.
      http://dbtg.thresher.com/derby/test/trunk15/jvm1.4/testing/testlog/CYGWIN_NT-5.1_i686-unknown/548421-derbyall_diff.txt
      http://dbtg.thresher.com/derby/test/trunk15/jvm1.5/testing/testlog/CYGWIN_NT-5.1_i686-unknown/548421-derbyall_diff.txt
      http://dbtg.thresher.com/derby/test/Daily/jvm1.5/testing/testlog/w2003/548386-derbyall_diff.txt
      http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/vista/548386-derbyall_diff.txt

      <method>
      derbynet/testconnection.java
      </method>

      <signature>
      13 del
      < Could not connect to Derby Network Server on host xxxFILTERED_HOSTNAMExxx, port 9393: Connection refused
      13a13
      > Could not connect to Derby Network Server on host xxxFILTERED_HOSTNAMExxx, port 9393: Connection refused: connect
      17 del
      < Could not connect to Derby Network Server on host xxxFILTERED_HOSTNAMExxx, port 9393: Connection refused
      17a17
      > Could not connect to Derby Network Server on host xxxFILTERED_HOSTNAMExxx, port 9393: Connection refused: connect
      Test Failed.
      </signature>

        Activity

        Hide
        Kathey Marsden added a comment -

        I don't think this is a product regression. Unchecking regression checkbox

        Show
        Kathey Marsden added a comment - I don't think this is a product regression. Unchecking regression checkbox
        Hide
        Myrna van Lunteren added a comment -

        I think this was somehow a side effect of a check-in for DERBY-2796; I remember a discussion where it was decided either response is fine.
        I added a testconnection_sed.properties file that modifies the output, whatever is following the port number & the first refused. Needed to also modify the master. (possible that it could've been done with more clever pattern replacements, but I chose to use - instead of , so the sed-ing would work quick).
        committed to trunk with 556189, 10.3 with 556191.

        Show
        Myrna van Lunteren added a comment - I think this was somehow a side effect of a check-in for DERBY-2796 ; I remember a discussion where it was decided either response is fine. I added a testconnection_sed.properties file that modifies the output, whatever is following the port number & the first refused. Needed to also modify the master. (possible that it could've been done with more clever pattern replacements, but I chose to use - instead of , so the sed-ing would work quick). committed to trunk with 556189, 10.3 with 556191.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development