From e83429a08c4c2b316567477c5cb9db2bf25a7018 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 16 Mar 2016 10:32:07 -0400 Subject: [PATCH] NIFI-1631 This closes #283. increased timeouts on test Signed-off-by: joewitt --- .../controller/scheduling/TestStandardProcessScheduler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f507eeab6a..3b334789c8 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 @@ -416,7 +416,7 @@ public class TestStandardProcessScheduler { LongEnablingService ts = (LongEnablingService) serviceNode.getControllerServiceImplementation(); ts.setLimit(3000); scheduler.enableControllerService(serviceNode); - Thread.sleep(500); + Thread.sleep(2000); assertTrue(serviceNode.isActive()); assertEquals(1, ts.enableInvocationCount()); @@ -427,7 +427,7 @@ public class TestStandardProcessScheduler { assertEquals(0, ts.disableInvocationCount()); // wait a bit. . . Enabling will finish and @OnDisabled will be invoked // automatically - Thread.sleep(3000); + Thread.sleep(4000); assertEquals(ControllerServiceState.DISABLED, serviceNode.getState()); assertEquals(1, ts.disableInvocationCount()); }