Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-185

pcep-tunnel-provider fails unit tests with Java 8

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • PCEP
    • None
    • Operating System: All
      Platform: All

    • 2708
    • Normal

    Description

      nite@nitebug ~/odl/bgpcep $ java -version
      java version "1.8.0_31"
      Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

      testNodeChangedListener(org.opendaylight.bgpcep.pcep.tunnel.provider.NodeChangedListenerTest) Time elapsed: 4.704 sec <<< FAILURE!
      java.lang.AssertionError: expected:<Uri [_value=ip://IpAddress [_ipv4Address=Ipv4Address [_value=39.39.39.39], _value=[3, 9, ., 3, 9, ., 3, 9, ., 3, 9]]]> but was:<Uri [_value=ip://IpAddress [_ipv4Address=Ipv4Address [_value=40.40.40.40], _value=[4, 0, ., 4, 0, ., 4, 0, ., 4, 0]]]>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:743)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:144)
      at org.opendaylight.bgpcep.pcep.tunnel.provider.NodeChangedListenerTest.testNodeChangedListener(NodeChangedListenerTest.java:103)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dkutenicsova Dana Kutenicsova
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: