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

CalendarBookingLocalServiceTest failing on CI

    Description

    Tests:

    testInviteUserCalendarWithWorkflowShouldNotifieInviteCalendarBookingOnlyAfterApprovedAndPublished
    testInviteUserCalendarWithWorkflowShouldInviteCalendarBookingOnlyAfterApprovedAndPublished

         [exec] com.liferay.calendar.service.test.CalendarBookingLocalServiceTest > testInviteUserCalendarWithWorkflowShouldInviteCalendarBookingOnlyAfterApprovedAndPublished FAILED
         [exec]     java.lang.AssertionError: expected:<11> but was:<10>
         [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.calendar.service.test.CalendarBookingLocalServiceTest.assertStatus(CalendarBookingLocalServiceTest.java:3185)
         [exec]     	at com.liferay.calendar.service.test.CalendarBookingLocalServiceTest.testInviteUserCalendarWithWorkflowShouldInviteCalendarBookingOnlyAfterApprovedAndPublished(CalendarBookingLocalServiceTest.java:1295)
         [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.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 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] 
         [exec] com.liferay.calendar.service.test.CalendarBookingLocalServiceTest > testInviteUserCalendarWithWorkflowShouldNotCreatesCalendarBookingAfterPublish STARTED
         [exec] 
         [exec] com.liferay.calendar.service.test.CalendarBookingLocalServiceTest > testInviteUserCalendarWithWorkflowShouldNotCreatesCalendarBookingAfterPublish PASSED
         [exec] 
         [exec] com.liferay.calendar.service.test.CalendarBookingLocalServiceTest > testInviteUserCalendarWithWorkflowShouldNotifieInviteCalendarBookingOnlyAfterApprovedAndPublished STARTED
         [exec] 
         [exec] com.liferay.calendar.service.test.CalendarBookingLocalServiceTest > testInviteUserCalendarWithWorkflowShouldNotifieInviteCalendarBookingOnlyAfterApprovedAndPublished 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 com.liferay.calendar.service.test.CalendarBookingLocalServiceTest.assertMailSubjectCount(CalendarBookingLocalServiceTest.java:3108)
         [exec]     	at com.liferay.calendar.service.test.CalendarBookingLocalServiceTest.testInviteUserCalendarWithWorkflowShouldNotifieInviteCalendarBookingOnlyAfterApprovedAndPublished(CalendarBookingLocalServiceTest.java:1391)
         [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.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 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)
    

    Jenkins console:
    https://testray.liferay.com/reports/production/logs/test-1-1/1585329626590/test-portal-release/2453/modules-integration-bundle-hypersonic20-jdk8/5/jenkins-console.txt.gz

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            rodrigo.cunha Rodrigo Cunha
            Reporter:
            dennys.barros Dennys Barros (Inactive)
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              19 weeks, 4 days ago

                Packages

                Version Package
                7.2.X
                7.3.3 CE GA4
                7.3.10 DXP GA1
                Master