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

ASF GitHub Bot commented on AMBARI-22763:
-----------------------------------------

adoroszlai opened a new pull request #91: [AMBARI-22763] Fix unit test error in 
ambari-utility on branch-3.0-perf
URL: https://github.com/apache/ambari/pull/91
 
 
   ## What changes were proposed in this pull request?
   
   Unit test in `ambari-utility` runs into error due to 
`ClassNotFoundException: com.fasterxml.jackson.annotation.JsonInclude$Value`.  
This change fixes the errors.
   
   ## How was this patch tested?
   
   Ran unit tests.
   
   Before:
   
   ```
   $ mvn -am -pl ambari-utility -Drat.skip -Dcheckstyle.skip clean test
   ...
   [ERROR] Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 
0.593 s <<< FAILURE! - in org.apache.ambari.swagger.AmbariSwaggerReaderTest
   [ERROR] swaggerBasicCase(org.apache.ambari.swagger.AmbariSwaggerReaderTest)  
Time elapsed: 0.221 s  <<< ERROR!
   java.lang.NoClassDefFoundError: 
com/fasterxml/jackson/annotation/JsonInclude$Value
        at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:68)
   Caused by: java.lang.ClassNotFoundException: 
com.fasterxml.jackson.annotation.JsonInclude$Value
        at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:68)
   ...
   [ERROR] Tests run: 6, Failures: 0, Errors: 3, Skipped: 0
   ```
   
   After:
   
   ```
   $ mvn -am -pl ambari-utility -Drat.skip -Dcheckstyle.skip clean test
   ...
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Fix checkstyle failure after merging trunk to branch-3.0-perf
> -------------------------------------------------------------
>
>                 Key: AMBARI-22763
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22763
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Myroslav Papirkovskyi
>            Assignee: Myroslav Papirkovskyi
>             Fix For: 3.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to