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

ContentStructureResourceTest fails on 7.1.x CI tester

    Details

      Description

      This issue is found on the latest 7.1.x CI(903) tester. Detail message see here

      Issue:

      java.lang.AssertionError: expected:<1> but was:<0>
      

      Affects Case:
      ContentStructureResourceTest.testGetSiteContentStructuresPage
      ContentStructureResourceTest.testGetSiteContentStructuresPageWithFilterDateTimeEquals
      ContentStructureResourceTest.testGetSiteContentStructuresPageWithFilterStringEquals
      ContentStructureResourceTest.testGetSiteContentStructuresPageWithPagination
      ContentStructureResourceTest.testGetSiteContentStructuresPageWithSortDateTime
      ContentStructureResourceTest.testGetSiteContentStructuresPageWithSortString

       

      Error log see here:

      [exec] com.liferay.headless.delivery.resource.v1_0.test.ContentStructureResourceTest > testGetSiteContentStructuresPage FAILED
           [exec]     java.lang.AssertionError: 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 org.junit.Assert.assertEquals(Assert.java:631)
           [exec]         at com.liferay.headless.delivery.resource.v1_0.test.BaseContentStructureResourceTestCase.testGetSiteContentStructuresPage(BaseContentStructureResourceTestCase.java:242)
           [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:206)
           [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.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [exec]         at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:154)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:55)
           [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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:72)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                melody.wu Melody Wu
                Reporter:
                melody.wu Melody Wu
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 8 weeks, 5 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP12
                  7.1.X