Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19525

Unit Test failure during schema verification of configuration files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      validatePropertySchemaOfServiceXMLs(org.apache.ambari.server.state.ServicePropertiesTest)  Time elapsed: 2.622 sec  <<< ERROR!
      org.apache.ambari.server.AmbariException: File /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/OOZIE/4.2.0.2.3/configuration/oozie-site.xml didn't pass the validation. Error message is : cvc-complex-type.2.4.a: Invalid content was found starting with element 'keystore'. One of '{maximum, minimum, unit, delete, visible, empty-value-valid, ui-only-property, read-only, editable-only-at-install, show-property-name, increment-step, entries, hidden, entries_editable, selection-cardinality, property-file-name, property-file-type}' is expected.
      	at org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs(ServicePropertiesTest.java:49)
      

      Attachments

        1. rb55502.patch
          1 kB
          Nahappan Somasundaram

        Issue Links

          Activity

            People

              smnaha Nahappan Somasundaram
              smnaha Nahappan Somasundaram
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: