You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/05 18:43:00 UTC
[jira] [Commented] (SOLR-15219)
TestPointFields.testIntPointFieldMultiValuedRangeFacet fails for seed
[ https://issues.apache.org/jira/browse/SOLR-15219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296275#comment-17296275 ]
ASF subversion and git services commented on SOLR-15219:
--------------------------------------------------------
Commit f36a867bd07270421b8295f1698adf45c4905149 in lucene-solr's branch refs/heads/master from David Smiley
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f36a867 ]
SOLR-15219: Fix TestPointFields integer overflow (#2460)
And also restore it's getRandomInts(..,..,bound) semantics to what it was -- positive or negative random values.
> TestPointFields.testIntPointFieldMultiValuedRangeFacet fails for seed
> ---------------------------------------------------------------------
>
> Key: SOLR-15219
> URL: https://issues.apache.org/jira/browse/SOLR-15219
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Time Spent: 40m
> Remaining Estimate: 0h
>
> This reproduces:
> {{gradlew :solr:core:test --tests "org.apache.solr.schema.TestPointFields.testIntPointFieldMultiValuedRangeFacet" -Ptests.jvms=6 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=8E7691162850731 -Ptests.file.encoding=ISO-8859-1}}
> Line 391.
> From my build emails, this test has failed twice last year. I checked if it's related to Mike Drob's last commit RE a static analysis discovered refactoring, and it isn't.
> The facet range is:
> {{facet.range.start=-1899777513&facet.range.end=2145600248}}
> That is really quite a wide range. Both the start and end value are integers, but subtracting the two overflows an integer. This suggests an integer overflow error somewhere.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org