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

testCORSRequest faied due to return null

    Details

      Description

      Occurred on modules-integration-mysql57-jdk8/0/0 batch

      com.liferay.oauth2.provider.client.test.CORSApplicationClientTest > testCORSRequest FAILED
           [exec]     java.lang.AssertionError: expected:<http://test-cors.com> but was:<null>
           [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.oauth2.provider.client.test.CORSApplicationClientTest.testCORSRequest(CORSApplicationClientTest.java:95)
           [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)
       com.liferay.oauth2.provider.client.test.CORSApplicationClientTest > testPreflightCORSRequest FAILED
           [exec]     java.lang.AssertionError: expected:<http://test-cors.com> but was:<null>
      om.liferay.oauth2.provider.client.test.CORSApplicationClientTest > testCORSRequestInvalidToken FAILED
           [exec]     java.lang.AssertionError: expected:<http://test-cors.com> but was:<null>
      

      Full console log:
      https://testray.liferay.com/reports/production/logs/test-1-19/1608505216795/test-portal-acceptance-pullrequest(7.3.x)/38/modules-integration-mysql57-jdk8/0/0/jenkins-console.txt.gz

        Attachments

          Activity

            People

            Assignee:
            della.wang Della Wang (Inactive)
            Reporter:
            della.wang Della Wang (Inactive)
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Marta Medio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7