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

AssertionError in CalendarSearcherTest.testStopWords

    Details

      Description

      com.liferay.calendar.search.test.CalendarSearcherTest.testStopWords is failing in 7.3.x with:

      [exec] com.liferay.calendar.search.test.CalendarSearcherTest > testStopWords FAILED
           [exec]     java.lang.AssertionError: [{resourceName_hu_HU=[ri8cyc9j], resourceName_de_DE=[ri8cyc9j], resourceName_ca_ES=[ri8cyc9j], entryClassPK=[44966], resourceName_fr_FR=[ri8cyc9j], resourceName_ar_SA=[ri8cyc9j], entryClassName=[com.liferay.calendar.model.Calendar], resourceName_ja_JP=[ri8cyc9j], resourceName_en_US=[ri8cyc9j], resourceName_zh_CN=[ri8cyc9j], description=[another description example], resourceName=[ri8cyc9j], resourceName_pt_BR=[ri8cyc9j], resourceName_fi_FI=[ri8cyc9j], resourceName_nl_NL=[ri8cyc9j], uid=[com.liferay.calendar.model.Calendar_PORTLET_44966], name_en_US=[h1zzgiwl], companyId=[20098], resourceName_es_ES=[ri8cyc9j], name=[h1zzgiwl], description_en_US=[another description example], resourceName_sv_SE=[ri8cyc9j]}, {resourceName_hu_HU=[ri8cyc9j], resourceName_de_DE=[ri8cyc9j], resourceName_ca_ES=[ri8cyc9j], entryClassPK=[44965], resourceName_fr_FR=[ri8cyc9j], resourceName_ar_SA=[ri8cyc9j], entryClassName=[com.liferay.calendar.model.Calendar], resourceName_ja_JP=[ri8cyc9j], resourceName_en_US=[ri8cyc9j], resourceName_zh_CN=[ri8cyc9j], description=[6zh5gyht], resourceName=[ri8cyc9j], resourceName_pt_BR=[ri8cyc9j], resourceName_fi_FI=[ri8cyc9j], resourceName_nl_NL=[ri8cyc9j], uid=[com.liferay.calendar.model.Calendar_PORTLET_44965], name_en_US=[ckcrmhkn], companyId=[20098], resourceName_es_ES=[ri8cyc9j], name=[ckcrmhkn], description_en_US=[6zh5gyht], resourceName_sv_SE=[ri8cyc9j]}}, length=2, query=null] expected:<1> but was:<2>
           [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.calendar.search.test.CalendarSearcherTest.assertSearch(CalendarSearcherTest.java:242)
           [exec]     	at com.liferay.calendar.search.test.CalendarSearcherTest.testStopWords(CalendarSearcherTest.java:179)
           [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 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.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [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)
           [exec] 

      Full console log

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            brooke.dalton Brooke Dalton
            Participants of an Issue:
            Recent user:
            Rodrigo Cunha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              46 weeks, 4 days ago
              Development End Date:

                Packages

                Version Package