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

PortalImplLayoutRelativeURLTest#testGetLayoutRelativeURL fails with AssertionFailedError

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
    • Fix Priority:
      5
    • Last Working Version:

      Description

      Steps to reproduce issue:

      1. Execute test PortalImplLayoutRelativeURLTest#testGetLayoutRelativeURL

      Expected result: Test executes successfully
      Actual result: Test fails with AssertionFailedError

          [junit] Running com.liferay.portal.util.PortalImplLayoutRelativeURLTest
          [junit] Testsuite: com.liferay.portal.util.PortalImplLayoutRelativeURLTest
          [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.329 sec
          [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.329 sec
          [junit] 
          [junit] Testcase: testGetLayoutRelativeURL(com.liferay.portal.util.PortalImplLayoutRelativeURLTest):	FAILED
          [junit] null
          [junit] junit.framework.AssertionFailedError
          [junit] 	at com.liferay.portal.util.PortalImplLayoutRelativeURLTest.testGetLayoutRelativeURL(PortalImplLayoutRelativeURLTest.java:108)
          [junit] 	at com.liferay.portal.util.PortalImplLayoutRelativeURLTest.testGetLayoutRelativeURL(PortalImplLayoutRelativeURLTest.java:65)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
          [junit] 	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
          [junit] 	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
      

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7
      Portal master GIT ID: 7c8c9b3950e926ae1813a7afc322a9cd64ea6f7a

      Not reproducible on:
      Tomcat 9.0.17 + MySQL 5.7
      Portal master GIT ID: 8924fd8660bed8a247b72e2d1c7108c21d2c7c8e

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                preston.crary Preston Crary
                Reporter:
                anthony.chu Anthony Chu
                Participants of an Issue:
                Recent user:
                Preston Crary
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  21 weeks, 5 days ago

                  Packages

                  Version Package