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

Write unit tests for StackArtifactResourceProvider

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • ambari-server
    • None

    Description

      Due to the use of static calls required to parse and build kerberos descriptors, writing a unit test will take a bit longer than usual. It was decided to submit the work now with only manual functional testing to unblock people and come back and write the test later.

      Ideally, the static kerberos descriptor methods should be refactored.
      Instead of setting the Kerberos Descriptor File on the ServiceInfo, the descriptor should be set and all file IO would be encapsulated in the kerberos code.

      Attachments

        Issue Links

          Activity

            People

              jspeidel John Speidel
              jspeidel John Speidel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified