nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aldrin Piri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-839) When disabling a controller service, can get an error if another service references it
Date Tue, 11 Aug 2015 19:41:45 GMT

    [ https://issues.apache.org/jira/browse/NIFI-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14682358#comment-14682358
] 

Aldrin Piri commented on NIFI-839:
----------------------------------

Mark,

Tried the provided patch out and am receiving a test failure for TestStandardControllerServiceProvider:

{code}
testEnableDisableWithReference(org.apache.nifi.controller.service.TestStandardControllerServiceProvider)
 Time elapsed: 0.008 sec  <<< FAILURE!
java.lang.AssertionError: expected:<DISABLED> but was:<ENABLED>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.nifi.controller.service.TestStandardControllerServiceProvider.testEnableDisableWithReference(TestStandardControllerServiceProvider.java:104)
{code}

> When disabling a controller service, can get an error if another service references it
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-839
>                 URL: https://issues.apache.org/jira/browse/NIFI-839
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 0.3.0
>
>         Attachments: 0001-NIFI-839-When-disabling-controller-services-do-so-on.patch
>
>
> When a Controller Service (Service A) is disabled, if it has another Controller Service
(Service B) that is referencing it and also running, we can get an error message indicating
that Service A cannot be disabled because Service B is referencing it. 



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

Mime
View raw message