Andrew Onischuk created AMBARI-14013:
----------------------------------------
Summary: Bunch of unit tests fail with JDK 1.8
Key: AMBARI-14013
URL: https://issues.apache.org/jira/browse/AMBARI-14013
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.1.3
Some analysis:
1. ViewRegistryTest and ClientConfigResourceProviderTest - fail due to
incompatible versions of cglib and ASM (used by PowerMock). cglib should be
updated to 3.2, ASM dep should be dropped in flavor of implicit one.
2. ExecutionCommandWrapperTest - this one is testing config override
functionality dropped in July 2013. Current behavior is different, but because
of some luck with HashMap ordering test still passed. I assume that
String.hashCode/HashMap implementation was changed in JDK 1.8 which resulted in
different ordering and test fail.
Some other fails with similar reason present also.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)