Harmony
  1. Harmony
  2. HARMONY-2387

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development