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

Integration test failed on DLFileEntryIndexerIndexedFieldsTest.testIndexedFields

    Details

      Description

      com.liferay.document.library.search.test.DLFileEntryIndexerIndexedFieldsTest.testIndexedFields

      [exec] com.liferay.document.library.search.test.DLFileEntryIndexerIndexedFieldsTest > testIndexedFields FAILED
           [exec]     org.junit.ComparisonFailure: ??????->[classNameId=0, classPK=0, classTypeId=0, companyId=20096, content_ja_JP=????????????, createDate=20191128140852, createDate_sortable=1574950132892, dataRepositoryId=47117, ddmContent=text/plain; charset=UTF-8 UTF-8, ddm__text__38938__HttpHeaders_CONTENT_ENCODING=UTF-8, ddm__text__38938__HttpHeaders_CONTENT_ENCODING_String_sortable=utf-8, ddm__text__38938__HttpHeaders_CONTENT_TYPE=text/plain; charset=UTF-8, ddm__text__38938__HttpHeaders_CONTENT_TYPE_String_sortable=text/plain; charset=utf-8, entryClassName=com.liferay.document.library.kernel.model.DLFileEntry, entryClassPK=47133, expirationDate=99950812133000, expirationDate_sortable=9223372036854775807, extension=txt, extension_String_sortable=txt, fileEntryTypeId=0, folderId=0, groupId=47117, groupRoleId=47117-20112, hidden=false, localized_title=content_search.txt, localized_title_ar_SA=content_search.txt, localized_title_ar_SA_sortable=content_search.txt, localized_title_ca_ES=content_search.txt, localized_title_ca_ES_sortable=content_search.txt, localized_title_de_DE=content_search.txt, localized_title_de_DE_sortable=content_search.txt, localized_title_en_US=content_search.txt, localized_title_en_US_sortable=content_search.txt, localized_title_es_ES=content_search.txt, localized_title_es_ES_sortable=content_search.txt, localized_title_fi_FI=content_search.txt, localized_title_fi_FI_sortable=content_search.txt, localized_title_fr_FR=content_search.txt, localized_title_fr_FR_sortable=content_search.txt, localized_title_hu_HU=content_search.txt, localized_title_hu_HU_sortable=content_search.txt, localized_title_ja_JP=content_search.txt, localized_title_ja_JP_sortable=content_search.txt, localized_title_nl_NL=content_search.txt, localized_title_nl_NL_sortable=content_search.txt, localized_title_pt_BR=content_search.txt, localized_title_pt_BR_sortable=content_search.txt, localized_title_sv_SE=content_search.txt, localized_title_sv_SE_sortable=content_search.txt, localized_title_zh_CN=content_search.txt, localized_title_zh_CN_sortable=content_search.txt, mimeType=text_plain, mimeType_String_sortable=text_plain, modified=20191128140852, modified_sortable=1574950132897, path=content_search.txt, priority=0.0, properties=content_search, publishDate=20191128140852, publishDate_sortable=1574950132892, readCount=0, roleId=[20104, 20105], scopeGroupId=47117, size=12, size_sortable=12, stagingGroup=false, status=0, title=content_search.txt, title_sortable=content_search.txt, treePath=, uid=com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_47133, userId=47122, userName=pjlcl6qg swtow97c, viewCount=0, viewCount_sortable=0, visible=true] expected:<...50132892, readCount=[1, roleId=[20104, 20105], scopeGroupId=47117, size=12, size_sortable=12, stagingGroup=false, status=0, title=content_search.txt, title_sortable=content_search.txt, treePath=, uid=com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_47133, userId=47122, userName=pjlcl6qg swtow97c, viewCount=1, viewCount_sortable=1], visible=true]> but was:<...50132892, readCount=[0, roleId=[20104, 20105], scopeGroupId=47117, size=12, size_sortable=12, stagingGroup=false, status=0, title=content_search.txt, title_sortable=content_search.txt, treePath=, uid=com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_47133, userId=47122, userName=pjlcl6qg swtow97c, viewCount=0, viewCount_sortable=0], visible=true]>
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:115)
           [exec]     	at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:57)
           [exec]     	at com.liferay.portal.search.test.util.FieldValuesAssert.assertFieldValues(FieldValuesAssert.java:35)
           [exec]     	at com.liferay.document.library.search.test.DLFileEntryIndexerIndexedFieldsTest.testIndexedFields(DLFileEntryIndexerIndexedFieldsTest.java:130)
           [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)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
      

      readCount,viewCount and viewCount_sortable mismatch.

      Full console log: https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=1,label_exp=!master/275969/consoleFull

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                32 weeks, 4 days ago

                Packages

                Version Package
                7.3.0 CE GA1
                Master