lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject lucene-solr git commit: fix test bug: this test expects single segment index
Date Mon, 14 Mar 2016 14:41:04 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master f706c9de8 -> c8b06b68e


fix test bug: this test expects single segment index


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

Branch: refs/heads/master
Commit: c8b06b68e6f8a6c50f8eeb0e8b7e7171164a9c20
Parents: f706c9d
Author: Mike McCandless <mikemccand@apache.org>
Authored: Mon Mar 14 10:42:03 2016 -0400
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Mon Mar 14 10:42:03 2016 -0400

----------------------------------------------------------------------
 .../test/org/apache/lucene/queries/payloads/TestPayloadSpans.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c8b06b68/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadSpans.java
----------------------------------------------------------------------
diff --git a/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadSpans.java
b/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadSpans.java
index 9e9228b..2c0204d 100644
--- a/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadSpans.java
+++ b/lucene/queries/src/test/org/apache/lucene/queries/payloads/TestPayloadSpans.java
@@ -435,6 +435,7 @@ public class TestPayloadSpans extends LuceneTestCase {
       writer.addDocument(doc);
     }
 
+    writer.forceMerge(1);
     closeIndexReader = writer.getReader();
     writer.close();
 


Mime
View raw message