[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to