ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Toader (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14602) Fix broken unit test: HostResourceProviderTest.testDeleteResources
Date Sun, 10 Jan 2016 20:15:39 GMT

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

Sebastian Toader updated AMBARI-14602:
--------------------------------------
    Attachment: AMBARI-14602-branch-2.2.v1.patch

> Fix broken unit test: HostResourceProviderTest.testDeleteResources
> ------------------------------------------------------------------
>
>                 Key: AMBARI-14602
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14602
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.1
>            Reporter: Sebastian Toader
>            Assignee: Sebastian Toader
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14602-branch-2.2.v1.patch
>
>
> AMBARI-14551 causes in HostResourceProviderTest.testDeleteResources unit test the following
error:
> java.lang.NullPointerException: null
> 	at org.apache.ambari.server.controller.internal.HostResourceProvider.deleteHosts(HostResourceProvider.java:833)
> 	at org.apache.ambari.server.controller.internal.HostResourceProvider$4.invoke(HostResourceProvider.java:327)
> 	at org.apache.ambari.server.controller.internal.HostResourceProvider$4.invoke(HostResourceProvider.java:324)
> 	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:450)
> 	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:331)
> 	at org.apache.ambari.server.controller.internal.HostResourceProvider.deleteResources(HostResourceProvider.java:324)
> 	at org.apache.ambari.server.controller.internal.HostResourceProviderTest.testDeleteResources(HostResourceProviderTest.java:1024)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message