Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2845

GatewayAdminTopologyFuncTest#testPutTopology failing

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • 2.0.0
    • Tests
    • None

    Description

      GatewayAdminTopologyFuncTest#testPutTopology is failing because it's getting a 204 response instead of the expected 200 trying to PUT a topology via /api/v1/topologies/.
      [ERROR] Tests run: 29, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 68.585 s <<< FAILURE! - in org.apache.knox.gateway.GatewayAdminTopologyFuncTest
      [ERROR] testPutTopology(org.apache.knox.gateway.GatewayAdminTopologyFuncTest) Time elapsed: 1.034 s <<< FAILURE!
      java.lang.AssertionError:
      1 expectation failed.
      Expected status code <204> but was <200>.

      at org.apache.knox.gateway.GatewayAdminTopologyFuncTest.testPutTopology(GatewayAdminTopologyFuncTest.java:720)

      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR] GatewayAdminTopologyFuncTest.testPutTopology:720 1 expectation failed.
      Expected status code <204> but was <200>.
      It needs to be determined why the response status code has changed, and whether the test or the API itself needs to be fixed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pzampino Philip Zampino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: