You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2021/09/07 13:20:34 UTC

[lucene-solr] branch branch_8x updated: LUCENE-10087: Fix test failure.

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 68de832  LUCENE-10087: Fix test failure.
68de832 is described below

commit 68de832d0798a6ee930a7108cf774fdac160b348
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Tue Sep 7 15:20:02 2021 +0200

    LUCENE-10087: Fix test failure.
---
 .../core/src/test/org/apache/lucene/index/TestSortingCodecReader.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/test/org/apache/lucene/index/TestSortingCodecReader.java b/lucene/core/src/test/org/apache/lucene/index/TestSortingCodecReader.java
index fb54048..5cc80bc 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestSortingCodecReader.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestSortingCodecReader.java
@@ -149,7 +149,7 @@ public class TestSortingCodecReader extends LuceneTestCase {
         actualNumDocs = iw.getDocStats().numDocs;
       }
       Sort indexSort = RandomPicks.randomFrom(random(), Arrays.asList(
-          new Sort(new SortField("id", SortField.Type.INT),
+          new Sort(new SortField("id", SortField.Type.LONG),
               new SortField("alt_id", SortField.Type.INT)),
           new Sort(new SortedSetSortField("sorted_set_sort_field", false),
               new SortField("alt_id", SortField.Type.INT)),