lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject [24/50] lucene-solr:jira/SOLR-445: re-enable accidentally turned off test evilness
Date Mon, 21 Mar 2016 00:43:46 GMT
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/jira/SOLR-445
Commit: 56ca641b5b50dd9133753410d40dda0632e873f5
Parents: cf3eea2
Author: Mike McCandless <mikemccand@apache.org>
Authored: Tue Mar 15 05:18:53 2016 -0400
Committer: Mike McCandless <mikemccand@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();
       }
     }


Mime
View raw message