From d48790fc843a1f3c7bf37f57c70f10fb6d1c0f36 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 3 Nov 2015 11:08:03 +0000 Subject: [PATCH] LUCENE-6847: no virus checker git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712253 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/lucene/util/BaseGeoPointTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java b/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java index 68f9dc92fba..f17d0c7578d 100644 --- a/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java +++ b/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java @@ -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