You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2015/05/26 22:43:25 UTC
svn commit: r1681855 -
/lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java
Author: mikemccand
Date: Tue May 26 20:43:25 2015
New Revision: 1681855
URL: http://svn.apache.org/r1681855
Log:
LUCENE-6481: go back to 1 thread, no poly query, until we track down testRandomTiny failures
Modified:
lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java
Modified: lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java?rev=1681855&r1=1681854&r2=1681855&view=diff
==============================================================================
--- lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java (original)
+++ lucene/dev/branches/LUCENE-6481/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java Tue May 26 20:43:25 2015
@@ -251,6 +251,8 @@ public class TestGeoPointQuery extends L
// Make sure queries are thread safe:
int numThreads = TestUtil.nextInt(random(), 2, 5);
+ // nocommit remove:
+ numThreads = 1;
List<Thread> threads = new ArrayList<>();
final int iters = atLeast(100);
@@ -303,7 +305,8 @@ public class TestGeoPointQuery extends L
double bboxLon0 = lon0;
double bboxLon1 = lon1;
- if (random().nextBoolean()) {
+ // nocommit remove true || so we sometimes test polygon query too:
+ if (true || random().nextBoolean()) {
query = new GeoPointInBBoxQuery(FIELD_NAME, lon0, lat0, lon1, lat1);
} else {
// nocommit why does test fail if we enable this? it should pass?