Details

      Description

      After fixing LPS-119057, some test failures still happened. Once of them was IdsQueryTest, both in Elasticsearch 6 and Elasticsearch 7, which fails with the following stack trace:

      org.junit.ComparisonFailure: {"from":0,"size":0,"query":{"ids":{"values":["1","4"]}},"stored_fields":"*","sort":[{"userName":{"order":"desc","unmapped_type":"keyword"}}]}->[] expected:<[[delta, alpha]]> but was:<[[]]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at com.liferay.portal.search.test.util.DocumentsAssert.assertValues(DocumentsAssert.java:76)
      	at com.liferay.portal.search.test.util.query.BaseIdsQueryTestCase.assertSearch(BaseIdsQueryTestCase.java:116)
      	at com.liferay.portal.search.test.util.query.BaseIdsQueryTestCase.lambda$assertSearch$1(BaseIdsQueryTestCase.java:97)
      	at com.liferay.portal.search.test.util.indexing.BaseIndexingTestCase.lambda$assertSearch$0(BaseIndexingTestCase.java:193)
      	at com.liferay.portal.search.test.util.IdempotentRetryAssert.lambda$retryAssert$0(IdempotentRetryAssert.java:62)
      	at com.liferay.portal.search.test.util.IdempotentRetryAssert.retryAssert(IdempotentRetryAssert.java:43)
      	at com.liferay.portal.search.test.util.IdempotentRetryAssert.retryAssert(IdempotentRetryAssert.java:59)
      	at com.liferay.portal.search.test.util.indexing.BaseIndexingTestCase.assertSearch(BaseIndexingTestCase.java:191)
      	at com.liferay.portal.search.test.util.query.BaseIdsQueryTestCase.assertSearch(BaseIdsQueryTestCase.java:88)
      	at com.liferay.portal.search.test.util.query.BaseIdsQueryTestCase.testIdsQuery(BaseIdsQueryTestCase.java:57)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

        Attachments

          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