Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1208

Unit test failures in RestPutOperationTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • Post-Helium
    • restconf
    • None
    • Operating System: All
      Platform: All

    • 2845

      There are various tests in RestPutOperationTest that are failing verify builds at least half the time. A couple examples:

      java.lang.AssertionError: expected:<200> but was:<400>
      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:555)
      at org.junit.Assert.assertEquals(Assert.java:542)
      at org.opendaylight.controller.sal.restconf.impl.test.RestPutOperationTest.putConfigStatusCodes(RestPutOperationTest.java:103)

      RestPutOperationTest.putWithOptimisticLockFailedException:177 expected:<200> but was:<400>

      RestPutOperationTest.putDataMountPointIntoHighestElement:159 expected:<200> but was:<400>

      It seems there's an issue with incorrect status codes.

            jakubtoth-0 Jakub Toth
            tpantelis Tom Pantelis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: