Apache Lucene open-source search software
dial-down some spatial @Repeat iterations
David Wayne Smiley646c6002198d
diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java b/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.javaindex 1a189f71a1c..665b3586bf4 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/bbox/TestBBoxStrategy.java@@ -96,7 +96,7 @@ public class TestBBoxStrategy extends RandomSpatialOpStrategyTestCase {}@Test- @Repeat(iterations = 20)+ @Repeat(iterations = 15)public void testOperations() throws IOException {//setupif (random().nextInt(4) > 0) {//75% of the time choose geo (more interesting to test)diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/NumberRangeFacetsTest.java b/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/NumberRangeFacetsTest.javaindex a2b1ab305d7..22c0edba9ea 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/NumberRangeFacetsTest.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/NumberRangeFacetsTest.java@@ -17,15 +17,14 @@ package org.apache.lucene.spatial.prefix;* limitations under the License.*/-import static com.carrotsearch.randomizedtesting.RandomizedTest.randomInt;-import static com.carrotsearch.randomizedtesting.RandomizedTest.randomIntBetween;-import java.io.IOException;import java.util.ArrayList;import java.util.Calendar;import java.util.Collections;import java.util.List;+import com.carrotsearch.randomizedtesting.annotations.Repeat;+import com.spatial4j.core.shape.Shape;import org.apache.lucene.index.Term;import org.apache.lucene.queries.TermsQuery;import org.apache.lucene.search.Filter;@@ -40,8 +39,8 @@ import org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape;import org.junit.Before;import org.junit.Test;-import com.carrotsearch.randomizedtesting.annotations.Repeat;-import com.spatial4j.core.shape.Shape;+import static com.carrotsearch.randomizedtesting.RandomizedTest.randomInt;+import static com.carrotsearch.randomizedtesting.RandomizedTest.randomIntBetween;public class NumberRangeFacetsTest extends StrategyTestCase {@@ -61,7 +60,7 @@ public class NumberRangeFacetsTest extends StrategyTestCase {randomCalWindowMs = Math.max(2000L, tmpCal.getTimeInMillis());}- @Repeat(iterations = 100)+ @Repeat(iterations = 20)@Testpublic void test() throws IOException {//generate test data