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

[classlib][nio] Unit test org.apache.harmony.nio.tests.java.nio.channels.SocketChannelTest fails on Windows 2003 server

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None

      Description

      The test testSocket_NonBlock_ActionsBeforeConnect() fails with the folowing assertion on both IBM VM and drlvm:

      Failure
      Should throw BindException

      junit.framework.AssertionFailedError: Should throw BindException at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14) at org.apache.harmony.nio.tests.java.nio.channels.SocketChannelTest.assertSocketAction_NonBlock_BeforeConnect(SocketChannelTest.java:488) at org.apache.harmony.nio.tests.java.nio.channels.SocketChannelTest.testSocket_NonBlock_ActionsBeforeConnect(SocketChannelTest.java:329) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.032
      testSocket_Block_ActionsAfterConnect Success

      The test passes on linux.

        Attachments

          Activity

            People

            • Assignee:
              zakha Alexei Zakharov
              Reporter:
              elena Elena Semukhina
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: