Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-119057

Elasticsearch 6 unit test: expected:<20> but was:<-1>

    Details

      Description

      After copying modules to 7.1.x from 7.2.x, many unit tests from portal-search-elasticsearch6-impl stared failing. Some of the failures come from Elasticsearch returning -1 in very unexpected places. ElasticsearchCountTest for example fails this way:

      com.liferay.portal.search.elasticsearch6.internal.count.ElasticsearchCountTest > testPreFilterWithoutMainQuery FAILED
          java.lang.AssertionError: expected:<20> but was:<-1>
      

      These failures should be fixed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kevin.cruz Kevin Cruz
              Reporter:
              adam.brandizzi Adam Brandizzi
              Engineering Assignee:
              Kevin Cruz
              Recent user:
              Annie Wu (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package