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

OrganizationLocalServiceWhenSearchingOrganizationsTreeTest failed intermittently with AssertionError

    Description

    Full Jenkins Log

    Testray

     [exec] com.liferay.organizations.service.test.OrganizationLocalServiceWhenSearchingOrganizationsTreeTest > testShouldIncludeSuborganizationsAsAdminUser FAILED
         [exec]     java.lang.AssertionError: expected:<[{mvccVersion=0, uuid=99bf5998-c822-d095-2cfe-50902eea0c92, externalReferenceCode=, organizationId=44929, companyId=20098, userId=20128, userName=Test Test, createDate=Tue Mar 03 12:49:34 GMT 2020, modifiedDate=Tue Mar 03 12:49:34 GMT 2020, parentOrganizationId=44924, treePath=/44924/44929/, name=IZMwfdRH, type=organization, recursable=true, regionId=0, countryId=0, statusId=12017, comments=, logoId=0}, {mvccVersion=0, uuid=f0e62a71-eb0a-9acc-ac4a-f7ca5f645962, externalReferenceCode=, organizationId=44934, companyId=20098, userId=20128, userName=Test Test, createDate=2020-03-03 12:49:34.202, modifiedDate=2020-03-03 12:49:34.202, parentOrganizationId=44929, treePath=/44924/44929/44934/, name=ypOBOVOm, type=organization, recursable=true, regionId=0, countryId=0, statusId=12017, comments=, logoId=0}]> but was:<[{mvccVersion=0, uuid=f0e62a71-eb0a-9acc-ac4a-f7ca5f645962, externalReferenceCode=, organizationId=44934, companyId=20098, userId=20128, userName=Test Test, createDate=Tue Mar 03 12:49:34 GMT 2020, modifiedDate=Tue Mar 03 12:49:34 GMT 2020, parentOrganizationId=44929, treePath=/44924/44929/44934/, name=ypOBOVOm, type=organization, recursable=true, regionId=0, countryId=0, statusId=12017, comments=, logoId=0}, {mvccVersion=0, uuid=99bf5998-c822-d095-2cfe-50902eea0c92, externalReferenceCode=, organizationId=44929, companyId=20098, userId=20128, userName=Test Test, createDate=Tue Mar 03 12:49:34 GMT 2020, modifiedDate=Tue Mar 03 12:49:34 GMT 2020, parentOrganizationId=44924, treePath=/44924/44929/, name=IZMwfdRH, type=organization, recursable=true, regionId=0, countryId=0, statusId=12017, comments=, logoId=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:118)
         [exec]     	at org.junit.Assert.assertEquals(Assert.java:144)
         [exec]     	at com.liferay.organizations.service.test.OrganizationLocalServiceWhenSearchingOrganizationsTreeTest._assertSearch(OrganizationLocalServiceWhenSearchingOrganizationsTreeTest.java:171)
         [exec]     	at com.liferay.organizations.service.test.OrganizationLocalServiceWhenSearchingOrganizationsTreeTest.testShouldIncludeSuborganizationsAsAdminUser(OrganizationLocalServiceWhenSearchingOrganizationsTreeTest.java:115)
         [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:
            patricia.perez Patricia Perez
            Reporter:
            calvin.vo Calvin Vo
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            André Ricardo Barreto de Oliveira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 6 weeks, 2 days ago

                Packages

                Version Package
                7.3.3 CE GA4
                7.3.10 DXP GA1
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                Master