Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2387

[classlib][luni] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy() intermittently fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      SuSE9, ia32, multi-processor

      Description

      $ while ../../drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/java -cp modules/luni/bin/test:depends/jars/junit_3.8.2/junit.jar junit.textui.TestRunner org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest; do date; done 2>&1 | tee log.txt
      [...]
      ..E..
      Time: 1.133
      There was 1 error:
      1) testUsingProxy(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest
      )java.net.SocketException: No such file or directory
      at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(
      OSNetworkSystem.java)
      at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocket(OSNe
      tworkSystem.java)
      at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:216)
      at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
      at java.net.Socket.connect(Socket.java:978)
      at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConn
      ection(HttpURLConnection.java:630)
      at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(Htt
      pURLConnection.java:581)
      at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUs
      ingProxy(HttpURLConnectionTest.java:203)
      at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      FAILURES!!!
      Tests run: 4, Failures: 0, Errors: 1

        Attachments

        1. Harmony-2387.diff
          0.7 kB
          Ruth Cao
        2. Harmony-2387.diff
          1.0 kB
          Ruth Cao

          Activity

            People

            • Assignee:
              paulex Paulex Yang
              Reporter:
              leshik Alexei Fedotov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: