You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (JIRA)" <ji...@apache.org> on 2018/06/26 20:02:00 UTC
[jira] [Updated] (KNOX-1367) GatewayDeployFuncTest is broken
because of topology validation
[ https://issues.apache.org/jira/browse/KNOX-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandeep More updated KNOX-1367:
-------------------------------
Fix Version/s: 1.1.0
> GatewayDeployFuncTest is broken because of topology validation
> --------------------------------------------------------------
>
> Key: KNOX-1367
> URL: https://issues.apache.org/jira/browse/KNOX-1367
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
> Fix For: 1.1.0
>
>
> As part of the effort of KNOX-1350 topology validation is enforced which causes GatewayDeployFuncTest test to fail.
> Relevant diff snippet from DefaultTopologyService.java for the change.
> {code:java}
> try {
> TopologyValidator tv = new TopologyValidator(topology);
>
> - if(tv.validateTopology()) {
> + if(!tv.validateTopology()) {
> throw new SAXException(tv.getErrorString());
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)