diff --git a/server/src/test/java/com/metamx/druid/query/timeseries/TimeseriesQueryRunnerTest.java b/server/src/test/java/com/metamx/druid/query/timeseries/TimeseriesQueryRunnerTest.java index 550e918eb27..3be91c3686f 100644 --- a/server/src/test/java/com/metamx/druid/query/timeseries/TimeseriesQueryRunnerTest.java +++ b/server/src/test/java/com/metamx/druid/query/timeseries/TimeseriesQueryRunnerTest.java @@ -263,7 +263,7 @@ public class TimeseriesQueryRunnerTest { TimeseriesQuery query = Druids.newTimeseriesQueryBuilder() .dataSource(QueryRunnerTestHelper.dataSource) - .intervals(QueryRunnerTestHelper.firstToThird) + .intervals("2011-03-31T00:00:00-07:00/2011-04-02T00:00:00-07:00") .aggregators( Arrays.asList( QueryRunnerTestHelper.rowsCount, @@ -288,12 +288,6 @@ public class TimeseriesQueryRunnerTest new TimeseriesResultValue( ImmutableMap.of("rows", 13L, "idx", 5827L) ) - ), - new Result( - new DateTime("2011-04-02", DateTimeZone.forID("America/Los_Angeles")), - new TimeseriesResultValue( - ImmutableMap.of("rows", 0L, "idx", 0L) - ) ) ); @@ -303,11 +297,8 @@ public class TimeseriesQueryRunnerTest ); TestHelper.assertExpectedResults(expectedResults, results); - - } - @Test public void testTimeseriesWithVaryingGran() {