[ 
https://issues.apache.org/jira/browse/SOLR-15896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469898#comment-17469898
 ] 

Jan Høydahl commented on SOLR-15896:
------------------------------------

See PR#500 for a fix. Just copied the toString method and changed the broken 
parts.

This may be more than a test-bug, as I believe we use toSting some places, 
although probably no important places that breaks code..

> reproducible test failure: org.apache.solr.util.TestSolrVersion.testToString
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-15896
>                 URL: https://issues.apache.org/jira/browse/SOLR-15896
>             Project: Solr
>          Issue Type: Test
>            Reporter: Christine Poerschke
>            Assignee: Jan Høydahl
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> e.g. 
> https://lists.apache.org/[email protected]:2022-1:%22org.apache.solr.util.TestSolrVersion.testToString%22
> {code}
> Build: 
> https://ci-builds.apache.org/job/Solr/job/Solr-BadApples-Tests-main/506/
> 2 tests failed.
> FAILED:  org.apache.solr.util.TestSolrVersion.testVersionComponents
> Error Message:
> org.junit.ComparisonFailure: expected:<[9.0.1]-rc1> but was:<[٩.٠.١]-rc1>
> Stack Trace:
> org.junit.ComparisonFailure: expected:<[9.0.1]-rc1> but was:<[٩.٠.١]-rc1>
>       at 
> __randomizedtesting.SeedInfo.seed([8435A4C21098B175:36A3663F4D780A83]:0)
>       at org.junit.Assert.assertEquals(Assert.java:117)
>       at org.junit.Assert.assertEquals(Assert.java:146)
>       at 
> org.apache.solr.util.TestSolrVersion.testVersionComponents(TestSolrVersion.java:31)
> ...
>     Reproduce with: gradlew :solr:core:test --tests 
> "org.apache.solr.util.TestSolrVersion.testVersionComponents" -Ptests.jvms=4 
> -Ptests.haltonfailure=false -Ptests.jvmargs=-XX:TieredStopAtLevel=1 
> -Ptests.seed=8435A4C21098B175 -Ptests.multiplier=2 -Ptests.badapples=true 
> -Ptests.file.encoding=US-ASCII
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to