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

GatewayDeployFuncTest is broken because of topology validation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Server
    • Labels:
      None

      Description

      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.

       try {
             TopologyValidator tv = new TopologyValidator(topology);
       
      -      if(tv.validateTopology()) {
      +      if(!tv.validateTopology()) {
               throw new SAXException(tv.getErrorString());
             }
      

        Attachments

          Activity

            People

            • Assignee:
              smore Sandeep More
              Reporter:
              smore Sandeep More
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: