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

JournalArticleSearchTest Comparison Failure

    Details

    • Fix Priority:
      3

      Description

      JournalArticleSearchTest > testOrderByDDMNumberFieldRepeatable is failing with:

      com.liferay.journal.search.test.JournalArticleSearchTest > testOrderByDDMNumberFieldRepeatable FAILED
          org.junit.ComparisonFailure: expected:<{3.14,20|12.34,16[.0]}> but was:<{3.14,20|12.34,16[]}>
          	at org.junit.Assert.assertEquals(Assert.java:115)
          	at org.junit.Assert.assertEquals(Assert.java:144)
          	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.assertSearch(TestOrderHelper.java:232)
          	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.testOrderByDDMField(TestOrderHelper.java:358)
          	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.testOrderByDDMFieldRepeatable(TestOrderHelper.java:397)
          	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.testOrderByDDMNumberFieldRepeatable(TestOrderHelper.java:119)
          	at com.liferay.journal.search.test.JournalArticleSearchTest.testOrderByDDMNumberFieldRepeatable(JournalArticleSearchTest.java:246)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:498)
          	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
          	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
          	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
          	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
          	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
          	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
          	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
          	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
          	at java.lang.Thread.run(Thread.java:748)
      

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7 Portal master GIT ID: 2282a4e8ea0bd40cc0dc189bd6f944652f6a58c9

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  Master