ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Re: Review Request 22423: Unit Tests Fail When Setting the Server Version
Date Wed, 11 Jun 2014 20:31:23 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22423/
-----------------------------------------------------------

(Updated June 11, 2014, 4:31 p.m.)


Review request for Ambari, Dmytro Sen and Vitalyi Brodetskyi.


Bugs: AMBARI-6069
    https://issues.apache.org/jira/browse/AMBARI-6069


Repository: ambari


Description
-------

Unit tests need to verify that the response from the component for the server version matches
that from AmbariMetaInfo and not a pre-defined string. QE alters the version string during
their tests, so the comparison needs to come from AmbariMetaInfo.


Diffs
-----

  ambari-server/src/test/java/org/apache/ambari/server/controller/RootServiceResponseFactoryTest.java
3ece6ac 

Diff: https://reviews.apache.org/r/22423/diff/


Testing
-------

mvn -Dtest=org.apache.ambari.server.controller.RootServiceResponseFactoryTest test

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dapple.awt.UIElement=true
Running org.apache.ambari.server.controller.RootServiceResponseFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.004 sec


Thanks,

Jonathan Hurley


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message