[ 
https://issues.apache.org/jira/browse/KNOX-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524267#comment-16524267
 ] 

ASF subversion and git services commented on KNOX-1367:
-------------------------------------------------------

Commit d6c681669425242c7ff2e0760de3ae9c065f7dde in knox's branch 
refs/heads/master from [~moresandeep]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=d6c6816 ]

KNOX-1367 - Provider elements in topology can occur in any order, update schema 
to reflect this


> 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)

Reply via email to