From 76fbb12959312ab659008683c27264e106597b94 Mon Sep 17 00:00:00 2001 From: Charles Allen Date: Tue, 11 Aug 2015 13:54:54 -0700 Subject: [PATCH] Increase timeout in tests for NamespaceExtractionCacheManagerExecutorsTest --- ...NamespaceExtractionCacheManagerExecutorsTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/namespace-lookup/src/test/java/io/druid/server/namespace/cache/NamespaceExtractionCacheManagerExecutorsTest.java b/extensions/namespace-lookup/src/test/java/io/druid/server/namespace/cache/NamespaceExtractionCacheManagerExecutorsTest.java index 29c36bd3a8b..90325696139 100644 --- a/extensions/namespace-lookup/src/test/java/io/druid/server/namespace/cache/NamespaceExtractionCacheManagerExecutorsTest.java +++ b/extensions/namespace-lookup/src/test/java/io/druid/server/namespace/cache/NamespaceExtractionCacheManagerExecutorsTest.java @@ -138,7 +138,7 @@ public class NamespaceExtractionCacheManagerExecutorsTest } - @Test(timeout = 5_000) + @Test(timeout = 50_000) public void testSimpleSubmission() throws ExecutionException, InterruptedException { URIExtractionNamespace namespace = new URIExtractionNamespace( @@ -158,7 +158,7 @@ public class NamespaceExtractionCacheManagerExecutorsTest } } - @Test(timeout = 5_000) + @Test(timeout = 50_000) public void testRepeatSubmission() throws ExecutionException, InterruptedException { final int repeatCount = 5; @@ -217,7 +217,7 @@ public class NamespaceExtractionCacheManagerExecutorsTest } - @Test(timeout = 10_000) + @Test(timeout = 50_000) public void testConcurrentDelete() throws ExecutionException, InterruptedException { final int threads = 5; @@ -250,7 +250,7 @@ public class NamespaceExtractionCacheManagerExecutorsTest executorService.shutdown(); } - @Test(timeout = 5_000) + @Test(timeout = 50_000) public void testDelete() throws NoSuchFieldException, IllegalAccessException, InterruptedException, ExecutionException { @@ -340,7 +340,7 @@ public class NamespaceExtractionCacheManagerExecutorsTest Assert.assertEquals(prior, runs.get()); } - @Test(timeout = 5_000) + @Test(timeout = 50_000) public void testShutdown() throws NoSuchFieldException, IllegalAccessException, InterruptedException, ExecutionException { @@ -400,7 +400,7 @@ public class NamespaceExtractionCacheManagerExecutorsTest Assert.assertTrue(((ListeningScheduledExecutorService) execField.get(manager)).isTerminated()); } - @Test(timeout = 5_000) + @Test(timeout = 50_000) public void testRunCount() throws InterruptedException, ExecutionException {