diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestStandardProcessScheduler.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestStandardProcessScheduler.java index 28dd298c54..05eb782729 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestStandardProcessScheduler.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestStandardProcessScheduler.java @@ -352,14 +352,14 @@ public class TestStandardProcessScheduler { scheduler.enableControllerService(serviceNode); } }); - Thread.sleep(2); // ensure that enable gets initiated before disable + Thread.sleep(10); // ensure that enable gets initiated before disable executor.execute(new Runnable() { @Override public void run() { scheduler.disableControllerService(serviceNode); } }); - Thread.sleep(25); + Thread.sleep(100); assertFalse(serviceNode.isActive()); assertTrue(serviceNode.getState() == ControllerServiceState.DISABLED); } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/service/TestStandardControllerServiceProvider.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/service/TestStandardControllerServiceProvider.java index 240000919b..eb0fa13f6d 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/service/TestStandardControllerServiceProvider.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/service/TestStandardControllerServiceProvider.java @@ -117,7 +117,7 @@ public class TestStandardControllerServiceProvider { * {@link PropertyDescriptor}.isDependentServiceEnableable() as well as * https://issues.apache.org/jira/browse/NIFI-1143 */ - @Test(timeout = 10000) + @Test(timeout = 60000) public void testConcurrencyWithEnablingReferencingServicesGraph() { final ProcessScheduler scheduler = createScheduler(); for (int i = 0; i < 10000; i++) {