Speed up sketch tests by merging fewer indexes. (#4413)

The tests go from 5 minutes to about 10 seconds. 1000 maxRowCount is still
low enough to get a few merges, so we're still exercising that functionality.
This commit is contained in:
Gian Merlino 2017-06-15 12:47:55 -07:00 committed by Roman Leventov
parent 7fe295009e
commit 17ef785618
2 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ public class SketchAggregationTest
readFileFromClasspathAsString("sketch_test_data_aggregators.json"),
0,
Granularities.NONE,
5,
1000,
readFileFromClasspathAsString("sketch_test_data_group_by_query.json")
);
@ -139,7 +139,7 @@ public class SketchAggregationTest
+ "]",
0,
Granularities.NONE,
5,
1000,
readFileFromClasspathAsString("simple_test_data_group_by_query.json")
);

View File

@ -92,7 +92,7 @@ public class OldApiSketchAggregationTest
readFileFromClasspathAsString("oldapi/old_simple_test_data_aggregators.json"),
0,
Granularities.NONE,
5,
1000,
readFileFromClasspathAsString("oldapi/old_simple_test_data_group_by_query.json")
);
@ -124,7 +124,7 @@ public class OldApiSketchAggregationTest
readFileFromClasspathAsString("oldapi/old_sketch_test_data_aggregators.json"),
0,
Granularities.NONE,
5,
1000,
readFileFromClasspathAsString("oldapi/old_sketch_test_data_group_by_query.json")
);