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

AssertionError in JournalArticleIndexVersionsTests with Solr

    Details

      Description

      All JournalArticleIndexVersionsTests are failing in master with:

          [exec] com.liferay.journal.service.test.JournalArticleIndexVersionsTest > testDeleteAllArticleVersions FAILED
           [exec]     java.lang.AssertionError: fq=%2BcompanyId:20096+%2B(%2BgroupId:(56897)+%2BscopeGroupId:(56897))+%2B((%2BentryClassName:com.liferay.journal.model.JournalArticle+%2Bhead:true+%2Bstatus:(0)))&q=*:*&fl=content_zh_CN,entryClassPK,groupId,description_hu_HU,description_ca_ES,description_ar_SA,description_pt_BR,title_ja_JP,content_sv_SE,scopeGroupId,description_es_ES,content_fr_FR,modified,title_fi_FI,description_nl_NL,content_en_US,content_de_DE,defaultLanguageId,content_es_ES,content_ar_SA,version,companyId,content_nl_NL,title_sv_SE,description_en_US,description_sv_SE,title_de_DE,title_en_US,title_es_ES,description_ja_JP,content_fi_FI,description_fr_FR,description,description_de_DE,title_ar_SA,title,title_nl_NL,content,uid,title_pt_BR,assetTagNames,title_ca_ES,entryClassName,content_ca_ES,content_hu_HU,articleId,description_fi_FI,content_pt_BR,title_zh_CN,description_zh_CN,content_ja_JP,title_hu_HU,title_fr_FR&rows=10000&start=0-> expected:<1> but was:<0>
           [exec]     	at org.junit.Assert.fail(Assert.java:88)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:834)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:645)
           [exec]     	at com.liferay.journal.service.test.JournalArticleIndexVersionsTest.assertSearchCount(JournalArticleIndexVersionsTest.java:284)
           [exec]     	at com.liferay.journal.service.test.JournalArticleIndexVersionsTest.testDeleteAllArticleVersions(JournalArticleIndexVersionsTest.java:125)
           [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.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 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)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.lee Brian Lee
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Tibor Lipusz
              Engineering Assignee:
              Bryan Engler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                39 weeks, 1 day ago
                Development End Date:
                Development Start Date:

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  7.3.6 CE GA7
                  7.3.X