You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/11/23 16:05:11 UTC
[jira] [Resolved] (AMBARI-14013) Bunch of unit tests fail with JDK
1.8
[ https://issues.apache.org/jira/browse/AMBARI-14013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk resolved AMBARI-14013.
--------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> 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)