Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146758

NetworkInterfaceStreamTest.java fails intermittently at comparing network interfaces

    Details

    • Subcomponent:
    • Resolved In Build:
      b116
    • Verification:
      Not verified

      Description

      java/net/NetworkInterface/NetworkInterfaceStreamTest.java

      Test Teredo Tunneling Pseudo-Interface issue was ever fixed in JDK-8131155 and JDK-8146209, but in testing of JDK9/100, still found this test failed intermittently.

      ----------System.out:(194/29039)----------
      [TestNG] Running:
        java/net/NetworkInterface/NetworkInterfaceStreamTest.java

      config java.util.stream.LoggingTestCase.before(): success
      test NetworkInterfaceStreamTest.testInetAddresses(): success
      config java.util.stream.LoggingTestCase.after(org.testng.internal.TestResult@6cfebb20): success
      config java.util.stream.LoggingTestCase.before(): success
      test NetworkInterfaceStreamTest.testNetworkInterfaces(): failure
      java.lang.AssertionError: 3 failure(s) for test data: RefTestData[Top-level network interfaces]
      1: java.lang.Error: STREAM_ITERATOR: java.lang.AssertionError: Iterators differ at element [14]: name:net5 (Teredo Tunneling Pseudo-Interface) != name:net5 (Teredo Tunneling Pseudo-Interface) expected [name:net5 (Teredo Tunneling Pseudo-Interface)] but found [name:net5 (Teredo Tunneling Pseudo-Interface)]
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xiaofeya Xiaofeng Yang
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: