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

ComparisonFailure in com.liferay.client.extension.internal.service.taglib.test.ClientExtensionTopJSDynamicIncludeTest

Details

    Description

      Steps to Reproduce:

      1. Navigate to modules/apps/client-extension/client-extension-test
      2. Run gw testIntegration --tests *ClientExtensionTopJSDynamicIncludeTest

      Expected Result:
      testGlobalJSClientExtensionEntriesAreAdded passes.

      Actual Result:
      testGlobalJSClientExtensionEntriesAreAdded fails.

      Reproduced on:
      Tomcat 9.0.56 + MySQL 5.7
      Portal master GIT ID: 64d40faf637435bcbbf15e93353d5bade2155272

      Testray
      Jenkins

           [exec] com.liferay.client.extension.internal.service.taglib.test.ClientExtensionTopJSDynamicIncludeTest > testGlobalJSClientExtensionEntriesAreAdded FAILED
           [exec]     org.junit.ComparisonFailure: expected:<...porary" src="http://[msynm1cv.com" type="text/javascript"></script><script data-senna-track="temporary" src="http://cp1psjEF.com" type="text/javascript"></script><script data-senna-track="temporary" src="http://UjMJfWcy].com" type="text/jav...> but was:<...porary" src="http://[UjMJfWcy.com" type="text/javascript"></script><script data-senna-track="temporary" src="http://cp1psjEF.com" type="text/javascript"></script><script data-senna-track="temporary" src="http://msynm1cv].com" type="text/jav...>
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:117)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
           [exec]     	at com.liferay.client.extension.internal.service.taglib.test.ClientExtensionTopJSDynamicIncludeTest.testGlobalJSClientExtensionEntriesAreAdded(ClientExtensionTopJSDynamicIncludeTest.java:149)
           [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)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
           [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 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:316)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            yanan.yuan Yanan Yuan(Ashley Yuan)
            susan.chen Susan Chen
            Marta Elicegui Marta Elicegui
            Eudaldo Alonso Eudaldo Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 weeks, 5 days ago

              Packages

                Version Package
                7.4.3.35 CE GA35
                Master