From 45f402f22f0349c19db9df95ae0a24e17394b024 Mon Sep 17 00:00:00 2001 From: Nishant Date: Tue, 5 Jan 2016 18:54:08 +0530 Subject: [PATCH] increase timeout tune timeouts --- .../java/io/druid/indexing/overlord/RemoteTaskRunnerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexing-service/src/test/java/io/druid/indexing/overlord/RemoteTaskRunnerTest.java b/indexing-service/src/test/java/io/druid/indexing/overlord/RemoteTaskRunnerTest.java index dcd643d6943..349620eb041 100644 --- a/indexing-service/src/test/java/io/druid/indexing/overlord/RemoteTaskRunnerTest.java +++ b/indexing-service/src/test/java/io/druid/indexing/overlord/RemoteTaskRunnerTest.java @@ -72,7 +72,7 @@ public class RemoteTaskRunnerTest private static final String announcementsPath = String.format("%s/indexer/announcements/worker", basePath); private static final String tasksPath = String.format("%s/indexer/tasks/worker", basePath); private static final String statusPath = String.format("%s/indexer/status/worker", basePath); - private static final int TIMEOUT_SECONDS = 5; + private static final int TIMEOUT_SECONDS = 20; private ObjectMapper jsonMapper; @@ -453,7 +453,7 @@ public class RemoteTaskRunnerTest private void doSetup() throws Exception { makeWorker(); - makeRemoteTaskRunner(new TestRemoteTaskRunnerConfig(new Period("PT1S"))); + makeRemoteTaskRunner(new TestRemoteTaskRunnerConfig(new Period("PT5S"))); } private void makeRemoteTaskRunner(RemoteTaskRunnerConfig config) throws Exception