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] [Created] (KNOX-1367) GatewayDeployFuncTest is broken because of topology validation

Sandeep More created KNOX-1367:
----------------------------------

             Summary: 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


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)