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:
Michael McCandless 2015-11-03 11:08:03 +00:00
parent be76c6845c
commit d48790fc84
1 changed files with 2 additions and 1 deletions

View File

@ -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++) {