[TEST] Reduce size of random shapes

This commit reduces the size of the random generated shapes for eliminating stalled `geo_shape` testing.

closes #17245
This commit is contained in:
Nicholas Knize 2016-03-25 13:41:20 -05:00
parent 6c15e782af
commit 43d0d3e11f
1 changed files with 2 additions and 1 deletions

View File

@ -293,8 +293,9 @@ public class RandomShapeGenerator extends RandomGeoGenerator {
xDivisible(yRange.getMax()*10e3)/10e3);
}
/** creates a small random rectangle by default to keep shape test performance at bay */
public static Rectangle xRandomRectangle(Random r, Point nearP) {
return xRandomRectangle(r, nearP, ctx.getWorldBounds(), false);
return xRandomRectangle(r, nearP, ctx.getWorldBounds(), true);
}
public static Rectangle xRandomRectangle(Random r, Point nearP, boolean small) {