Philip Zampino created KNOX-2845:
------------------------------------
Summary: GatewayAdminTopologyFuncTest#testPutTopology failing
Key: KNOX-2845
URL: https://issues.apache.org/jira/browse/KNOX-2845
Project: Apache Knox
Issue Type: Test
Components: Tests
Affects Versions: 2.0.0
Reporter: Philip Zampino
Fix For: 2.0.0
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)