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

Tommaso Teofili commented on OAK-1819:
--------------------------------------

[~mmarth], I understand. The reason why I've deferred this, OAK-3809, OAK-3355 
and basically all the ones assigned to me for 1.6 is that I don't currently 
have the cycles to work on them. On the other hand, marking those tests as 
_WONTFIX_ doesn't sound quite right to me, as I think they should be fixed.

This one is different from the others as it's been carried over since 1.0, the 
issue is specifically related to the fact that using JDK 1.8 instead of 1.7 for 
running the tests _magically_ changes the ranking of _MoreLikeThis_ query, 
which is pretty weird as in the few hours I spent on this a year ago or so I 
didn't manage to find the root cause.



> oak-solr-core test failures on Java 8
> -------------------------------------
>
>                 Key: OAK-1819
>                 URL: https://issues.apache.org/jira/browse/OAK-1819
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: solr
>    Affects Versions: 1.0
>         Environment: {noformat}
> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 
> 22:15:32-0400)
> Maven home: c:\Program Files\apache-maven-3.1.0
> Java version: 1.8.0, vendor: Oracle Corporation
> Java home: c:\Program Files\Java\jdk1.8.0\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
> {noformat}
>            Reporter: Jukka Zitting
>            Assignee: Tommaso Teofili
>            Priority: Minor
>              Labels: java8, jenkins, test
>             Fix For: 1.8
>
>
> The following {{oak-solr-core}} test failures occur when building Oak with 
> Java 8:
> {noformat}
> Failed tests:
>   
> testNativeMLTQuery(org.apache.jackrabbit.oak.plugins.index.solr.query.SolrIndexQueryTest):
>  expected:</test/[a]> but was:</test/[b]>
>   
> testNativeMLTQueryWithStream(org.apache.jackrabbit.oak.plugins.index.solr.query.SolrIndexQueryTest):
>  expected:</test/[a]> but was:</test/[b]>
> {noformat}
> The cause of this might well be something as simple as the test case 
> incorrectly expecting a specific ordering of search results.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to