Remove old norelease comment, the test is okay as it is
@@ -27,12 +27,8 @@ public class FilterTests extends BaseAggregationTestCase<FilterAggregationBuilde
@Override
protected FilterAggregationBuilder createTestAggregatorBuilder() {
- FilterAggregationBuilder factory = new FilterAggregationBuilder(randomAlphaOfLengthBetween(1, 20),
+ return new FilterAggregationBuilder(randomAlphaOfLengthBetween(1, 20),
QueryBuilders.termQuery(randomAlphaOfLengthBetween(5, 20), randomAlphaOfLengthBetween(5, 20)));
- // NORELEASE make RandomQueryBuilder work outside of the
- // AbstractQueryTestCase
- // builder.query(RandomQueryBuilder.createQuery(getRandom()));
- return factory;
}
}
