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 2016/03/15 10:18:09 UTC

lucene-solr git commit: re-enable accidentally turned off test evilness

Repository: lucene-solr
Updated Branches:
  refs/heads/master cf3eea264 -> 56ca641b5


re-enable accidentally turned off test evilness


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/56ca641b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/56ca641b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/56ca641b

Branch: refs/heads/master
Commit: 56ca641b5b50dd9133753410d40dda0632e873f5
Parents: cf3eea2
Author: Mike McCandless <mi...@apache.org>
Authored: Tue Mar 15 05:18:53 2016 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Tue Mar 15 05:18:53 2016 -0400

----------------------------------------------------------------------
 lucene/core/src/test/org/apache/lucene/index/TestPointValues.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/56ca641b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java
index 0946234..49cbc2a 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java
@@ -501,7 +501,7 @@ public class TestPointValues extends LuceneTestCase {
     doc.add(new IntPoint("int", 17));
     for(int i=0;i<300000;i++) {
       w.addDocument(doc);
-      if (false && random().nextInt(1000) == 17) {
+      if (random().nextInt(1000) == 17) {
         w.commit();
       }
     }