You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Amey Jain <a....@gmail.com> on 2016/06/27 23:45:27 UTC

branch 2.2.2 is failing unit test cases

I cloned and ran mvn clean install on the ambari branch 2.2.2

It runs for around 40 mins and failes at the following test cases.

>
> Failed tests:
>
> AmbariLdapDataPopulatorTest.testSynchronizeExistingLdapGroups_removeDuringIteration:325
>   Expectation failure on verify:
>
> AmbariLdapDataPopulatorTestInstance.getLdapGroupByMemberAttr("group2"):
> expected: 1, actual: 0
>   StackManagerTest.testStackServiceExtension:276 expected:<3> but was:<4>
>   StackManagerTest.testGetStackServiceInheritance:364 expected:<4> but
> was:<5>
>   UpgradeCatalog222Test.testInitializeStromAndKafkaWidgets:1109
>   Unexpected method call
> AmbariManagementController.initializeWidgetsAndLayouts(EasyMock for
> interface org.apache.ambari.server.state.Cluster, EasyMock for interface
> org.apache.ambari.server.state.Service):
>     AmbariManagementController.getClusters(): expected: at least 0,
> actual: 1
>     AmbariManagementController.initializeWidgetsAndLayouts(EasyMock for
> interface org.apache.ambari.server.state.Cluster, EasyMock for interface
> org.apache.ambari.server.state.Service): expected: 1, actual: 0


I have installed as per the developer guide for ambari.
Any issues that I need to take care before i can build Ambari.


Thanks