From 70d99fe3c60d9845188aa0aa9754d5afac18d9a5 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Mon, 15 Aug 2016 12:19:33 -0500 Subject: [PATCH] Initialize ApproximateHistogram Module in ApproximateHistogramGroupByQueryTest (#3363) or else the test fails if ran independently. --- .../histogram/ApproximateHistogramGroupByQueryTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions-core/histogram/src/test/java/io/druid/query/aggregation/histogram/ApproximateHistogramGroupByQueryTest.java b/extensions-core/histogram/src/test/java/io/druid/query/aggregation/histogram/ApproximateHistogramGroupByQueryTest.java index c055d08cd3f..6a517f0b97b 100644 --- a/extensions-core/histogram/src/test/java/io/druid/query/aggregation/histogram/ApproximateHistogramGroupByQueryTest.java +++ b/extensions-core/histogram/src/test/java/io/druid/query/aggregation/histogram/ApproximateHistogramGroupByQueryTest.java @@ -123,6 +123,9 @@ public class ApproximateHistogramGroupByQueryTest this.testName = testName; this.factory = factory; this.runner = runner; + + //Note: this is needed in order to properly register the serde for Histogram. + new ApproximateHistogramDruidModule().configure(null); } @Test