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

BlogsEntryIndexerReindexTest#testReindexing failed with ComparisonFailure

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Blogs
    • Labels:

      Description

      Testray

      Jenkins

       [exec] com.liferay.blogs.search.test.BlogsEntryIndexerReindexTest > testReindexing FAILED
           [exec]     org.junit.ComparisonFailure: {"from":0,"size":10000,"query":{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"match":{"comments":{"query":"jZOCgBMm"}}}],"should":[{"match_phrase":{"comments":{"query":"jZOCgBMm","slop":50}}},{"match_phrase":{"comments":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"must":[{"match":{"content":{"query":"jZOCgBMm"}}}],"should":[{"match_phrase":{"content":{"query":"jZOCgBMm","slop":50}}},{"match_phrase":{"content":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"must":[{"match":{"description":{"query":"jZOCgBMm"}}}],"should":[{"match_phrase":{"description":{"query":"jZOCgBMm","slop":50}}},{"match_phrase":{"description":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"should":[{"wildcard":{"properties":{"wildcard":"*jzocgbmm*"}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"title":{"query":"jZOCgBMm"}}},{"match_phrase_prefix":{"title":{"query":"jZOCgBMm"}}}]}}],"should":[{"match_phrase":{"title":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"should":[{"match_phrase":{"url":{"query":"jZOCgBMm"}}},{"bool":{"should":[{"wildcard":{"url":{"wildcard":"*jzocgbmm*"}}}]}},{"match_phrase_prefix":{"url":{"query":"jZOCgBMm","max_expansions":300}}}]}},{"bool":{"should":[{"wildcard":{"userName":{"wildcard":"*jzocgbmm*"}}}]}},{"bool":{"must":[{"match":{"assetCategoryTitles_en_US":{"query":"jZOCgBMm"}}}],"should":[{"match_phrase":{"assetCategoryTitles_en_US":{"query":"jZOCgBMm","slop":50}}},{"match_phrase":{"assetCategoryTitles_en_US":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"assetTagNames_en_US":{"query":"jZOCgBMm"}}},{"match_phrase_prefix":{"assetTagNames_en_US":{"query":"jZOCgBMm"}}}]}}],"should":[{"match_phrase":{"assetTagNames_en_US":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"must":[{"match":{"content_en_US":{"query":"jZOCgBMm"}}}],"should":[{"match_phrase":{"content_en_US":{"query":"jZOCgBMm","slop":50}}},{"match_phrase":{"content_en_US":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"must":[{"match":{"subtitle":{"query":"jZOCgBMm"}}}],"should":[{"match_phrase":{"subtitle":{"query":"jZOCgBMm","slop":50}}},{"match_phrase":{"subtitle":{"query":"jZOCgBMm","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"title_en_US":{"query":"jZOCgBMm"}}},{"match_phrase_prefix":{"title_en_US":{"query":"jZOCgBMm"}}}]}}],"should":[{"match_phrase":{"title_en_US":{"query":"jZOCgBMm","boost":2.0}}}]}}]}}]}}],"filter":[{"bool":{"must":[{"bool":{"must":[{"terms":{"groupId":["95334"]}},{"terms":{"scopeGroupId":["95334"]}}]}},{"bool":{"should":[{"bool":{"must":[{"term":{"entryClassName":{"value":"com.liferay.blogs.model.BlogsEntry"}}},{"terms":{"status":["0"]}},{"terms":{"status":["0"]}}]}}]}}]}}]}},"explain":false,"stored_fields":"*","track_scores":true}->[] expected:<[[title=jZOCgBMm]]> but was:<[[]]>
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:115)
           [exec]     	at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:100)
           [exec]     	at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:79)
           [exec]     	at com.liferay.portal.search.test.util.FieldValuesAssert.assertFieldValues(FieldValuesAssert.java:79)
           [exec]     	at com.liferay.portal.search.test.util.FieldValuesAssert.assertFieldValue(FieldValuesAssert.java:40)
           [exec]     	at com.liferay.blogs.search.test.BlogsEntryIndexerReindexTest.assertFieldValue(BlogsEntryIndexerReindexTest.java:110)
           [exec]     	at com.liferay.blogs.search.test.BlogsEntryIndexerReindexTest.testReindexing(BlogsEntryIndexerReindexTest.java:101)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
      

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            calvin.vo Calvin Vo
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              24 weeks, 6 days ago

                Packages

                Version Package