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

Investigate AssertionError in com.liferay.segments.service.test.SegmentsEntryLocalServiceTest

    Details

    • Type: Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Discarded
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Segments Editor
    • Labels:
      None

      Description

      Testray

      Jenkins

       [exec] com.liferay.segments.service.test.SegmentsEntryLocalServiceTest > testSearchSegmentsEntriesWithExcludedSources FAILED
           [exec]     java.lang.AssertionError: expected:<{mvccVersion=0, ctCollectionId=0, uuid=e6bb2b99-aafe-86b3-7ac8-8eb7a38d1e26, segmentsEntryId=104915, groupId=104910, companyId=20101, userId=20129, userName=Test Test, createDate=Tue Jun 15 07:50:27 GMT 2021, modifiedDate=Tue Jun 15 07:50:27 GMT 2021, segmentsEntryKey=WWH9M3HW, name=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Name language-id="en_US">4bMfDGsX</Name></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">q5MTl7WX</Description></root>, active=true, criteria={"criteria":{},"filterStrings":{}}, source=DEFAULT, type=5JJDzPdT, lastPublishDate=null}> but was:<{mvccVersion=0, ctCollectionId=0, uuid=131f72de-dd33-ee44-2401-97280ab88094, segmentsEntryId=104916, groupId=104910, companyId=20101, userId=20129, userName=Test Test, createDate=Tue Jun 15 07:50:27 GMT 2021, modifiedDate=Tue Jun 15 07:50:27 GMT 2021, segmentsEntryKey=RTKOFUVK, name=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Name language-id="en_US">3akBkbh3</Name></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">J7ZMxhYs</Description></root>, active=true, criteria={"criteria":{},"filterStrings":{}}, source=ASAH_FARO_BACKEND, type=2F82zOBJ, lastPublishDate=null}>
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:120)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
           [exec]     	at com.liferay.segments.service.test.SegmentsEntryLocalServiceTest.testSearchSegmentsEntriesWithExcludedSources(SegmentsEntryLocalServiceTest.java:454)
           [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$3.evaluate(TestExecutorRunnable.java:353)
           [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 org.junit.rules.RunRules.evaluate(RunRules.java:20)
      

        Attachments

          Activity

            People

            Assignee:
            yurena.cabrera Yurena Cabrera
            Reporter:
            carlos.brichete Carlos Brichete Báez
            Recent user:
            Carlos Brichete Báez
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package