From f6f7bec2b6a57cc98bd683263fc8e834c376c66f Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Tue, 8 Dec 2015 14:20:06 -0800 Subject: [PATCH] Update java-util. --- .../cache/NamespaceExtractionCacheManagerExecutorsTest.java | 4 +++- pom.xml | 2 +- 2 files changed, 4 insertions(+), 2 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 d1789718d9a..1b497e82a3b 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 @@ -85,10 +85,12 @@ public class NamespaceExtractionCacheManagerExecutorsTest private final AtomicLong numRuns = new AtomicLong(0L); @Before - public void setUp() throws IOException + public void setUp() throws Exception { final Path tmpDir = temporaryFolder.newFolder().toPath(); lifecycle = new Lifecycle(); + // Lifecycle stop is used to shut down executors. Start does nothing, so it's ok to call it here. + lifecycle.start(); final URIExtractionNamespaceFunctionFactory factory = new URIExtractionNamespaceFunctionFactory( ImmutableMap.of("file", new LocalFileTimestampVersionFinder()) ) diff --git a/pom.xml b/pom.xml index 8012fc693e2..31faa8831af 100644 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,7 @@ - 0.27.4 + 0.27.5 2.9.1 9.2.5.v20141112 1.19