Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1819

oak-solr-core test failures on Java 8 and later

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.10.0, 1.9.10, 1.8.12
    • Component/s: solr
    • Environment:

      Description

      The following oak-solr-core test failures occur when building Oak with Java 8:

      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]>
      

      The cause of this might well be something as simple as the test case incorrectly expecting a specific ordering of search results.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                teofili Tommaso Teofili
                Reporter:
                jukkaz Jukka Zitting
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: