[ 
https://issues.apache.org/jira/browse/AMBARI-23418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas resolved AMBARI-23418.
-----------------------------------
    Resolution: Won't Do

Closing this to fix in separate JIRAs.  For the TestHeartbeatHandler fix, see 
AMBARI-23461. 
 

> Fix and cleanup ClientConfigResourceProviderTest and TestHeartbeatHandler
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-23418
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23418
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Fix and cleanup ClientConfigResourceProviderTest.  At least the following 
> error occurs when running this unit test:
> {noformat:title=org.apache.ambari.server.controller.internal.ClientConfigResourceProviderTest#testGetResources}
> java.lang.AssertionError: 
>   Unexpected method call Configuration.getExternalScriptThreadPoolSize():
>     Configuration.getResourceDirPath(): expected: 1, actual: 1
>     Configuration.getJavaHome(): expected: 1, actual: 0
> {noformat}
> Fix and cleanup TestHeartbeatHandler.  At least the following error occurs 
> when running this unit test:
> {noformat:title=org.apache.ambari.server.agent.TestHeartbeatHandler#testComponents}
>  TestHeartbeatHandler.testComponents:1351 ยป NullPointer
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to