Repository: nifi Updated Branches: refs/heads/master 19bc5ba99 -> e83429a08
NIFI-1631 This closes #283. increased timeouts on test Signed-off-by: joewitt <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/e83429a0 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/e83429a0 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/e83429a0 Branch: refs/heads/master Commit: e83429a08c4c2b316567477c5cb9db2bf25a7018 Parents: 19bc5ba Author: Oleg Zhurakousky <[email protected]> Authored: Wed Mar 16 10:32:07 2016 -0400 Committer: joewitt <[email protected]> Committed: Wed Mar 16 11:06:21 2016 -0400 ---------------------------------------------------------------------- .../nifi/controller/scheduling/TestStandardProcessScheduler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/e83429a0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestStandardProcessScheduler.java ---------------------------------------------------------------------- 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 f507eea..3b33478 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()); }
