mirror of https://github.com/apache/druid.git
commit
d41ed55c1c
|
@ -85,10 +85,12 @@ public class NamespaceExtractionCacheManagerExecutorsTest
|
||||||
private final AtomicLong numRuns = new AtomicLong(0L);
|
private final AtomicLong numRuns = new AtomicLong(0L);
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws IOException
|
public void setUp() throws Exception
|
||||||
{
|
{
|
||||||
final Path tmpDir = temporaryFolder.newFolder().toPath();
|
final Path tmpDir = temporaryFolder.newFolder().toPath();
|
||||||
lifecycle = new Lifecycle();
|
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(
|
final URIExtractionNamespaceFunctionFactory factory = new URIExtractionNamespaceFunctionFactory(
|
||||||
ImmutableMap.<String, SearchableVersionedDataFinder>of("file", new LocalFileTimestampVersionFinder())
|
ImmutableMap.<String, SearchableVersionedDataFinder>of("file", new LocalFileTimestampVersionFinder())
|
||||||
)
|
)
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -65,7 +65,7 @@
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<metamx.java-util.version>0.27.4</metamx.java-util.version>
|
<metamx.java-util.version>0.27.5</metamx.java-util.version>
|
||||||
<apache.curator.version>2.9.1</apache.curator.version>
|
<apache.curator.version>2.9.1</apache.curator.version>
|
||||||
<jetty.version>9.2.5.v20141112</jetty.version>
|
<jetty.version>9.2.5.v20141112</jetty.version>
|
||||||
<jersey.version>1.19</jersey.version>
|
<jersey.version>1.19</jersey.version>
|
||||||
|
|
Loading…
Reference in New Issue