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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.10.0, 1.9.10, 1.8.12
    • solr

    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

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

              Dates

                Created:
                Updated:
                Resolved: