You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2026/01/05 10:36:08 UTC

[jira] [Resolved] (NIFI-3821) Intermittent test failure in TestStandardProcessScheduler.validateServiceEnablementLogicHappensOnlyOnce()

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

Pierre Villard resolved NIFI-3821.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 1.x release line. Marking as resolved as part of a cleanup operation. Please open a new one with an updated description if this is still relevant for NiFi 2.x.

> Intermittent test failure in TestStandardProcessScheduler.validateServiceEnablementLogicHappensOnlyOnce()
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-3821
>                 URL: https://issues.apache.org/jira/browse/NIFI-3821
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Tools and Build
>    Affects Versions: 1.2.0
>         Environment: EC2 t2.small instance (a new, clean instance)
> Apache Maven 3.3.9
> openjdk version "1.8.0_121"
> Ubuntu 16.04.2 LTS
>            Reporter: Jeff Zemerick
>            Priority: Minor
>              Labels: error, junit, test
>
> When building 1.2.0 I am getting an intermittent test failure that I can't reliably reproduce.
> Running org.apache.nifi.controller.scheduling.TestStandardProcessScheduler
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 16.091 sec <<< FAILURE! - in org.apache.nifi.controller.scheduling.TestStandardProcessScheduler
> validateServiceEnablementLogicHappensOnlyOnce(org.apache.nifi.controller.scheduling.TestStandardProcessScheduler)  Time elapsed: 0.824 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:645)
> 	at org.junit.Assert.assertEquals(Assert.java:631)
> 	at org.apache.nifi.controller.scheduling.TestStandardProcessScheduler.validateServiceEnablementLogicHappensOnlyOnce(TestStandardProcessScheduler.java:266)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)