mirror of https://github.com/apache/lucene.git
LUCENE-6847: no virus checker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712253 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be76c6845c
commit
d48790fc84
|
@ -201,6 +201,7 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase {
|
|||
double[] lats = new double[2*numPoints];
|
||||
double[] lons = new double[2*numPoints];
|
||||
Directory dir = newDirectory();
|
||||
noVirusChecker(dir);
|
||||
IndexWriterConfig iwc = newIndexWriterConfig();
|
||||
initIndexWriterConfig(FIELD_NAME, iwc);
|
||||
|
||||
|
@ -209,7 +210,7 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase {
|
|||
RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);
|
||||
|
||||
// TODO: GeoUtils are potentially slow if we use small=false with heavy testing
|
||||
boolean small = random().nextBoolean();
|
||||
boolean small = random().nextBoolean();
|
||||
//boolean small = true;
|
||||
|
||||
for (int id=0;id<numPoints;id++) {
|
||||
|
|
Loading…
Reference in New Issue