Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-8973

BatchEngineImportTaskExecutorTest integration tests fail

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 7.4 DXP U19
    • Data Integration
    • None

    Description

      The set of tests 
      com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest
       is failing. Please see log of one of the test failing below

      com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest > testCreateBlogPostingsFromInvalidCSVFile FAILED [exec] java.lang.AssertionError: expected:<0> but was:<1> [exec] at org.junit.Assert.fail(Assert.java:89) [exec] at org.junit.Assert.failNotEquals(Assert.java:835) [exec] at org.junit.Assert.assertEquals(Assert.java:647) [exec] at org.junit.Assert.assertEquals(Assert.java:633) [exec] at com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest._assertInvalidFile(BatchEngineImportTaskExecutorTest.java:430) [exec] at com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest.testCreateBlogPostingsFromInvalidCSVFile(BatchEngineImportTaskExecutorTest.java:127) [exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [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 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 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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [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.base/java.lang.Thread.run(Thread.java:834) [exec] [exec] com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest > testCreateBlogPostingsFromInvalidJSONFile STARTED [exec] [exec] com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest > testCreateBlogPostingsFromInvalidJSONFile FAILED [exec] java.lang.AssertionError: expected:<0> but was:<1> [exec] at org.junit.Assert.fail(Assert.java:89) [exec] at org.junit.Assert.failNotEquals(Assert.java:835) [exec] at org.junit.Assert.assertEquals(Assert.java:647) [exec] at org.junit.Assert.assertEquals(Assert.java:633) [exec] at com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest._assertInvalidFile(BatchEngineImportTaskExecutorTest.java:430) [exec] at com.liferay.batch.engine.internal.test.BatchEngineImportTaskExecutorTest.testCreateBlogPostingsFromInvalidJSONFile(BatchEngineImportTaskExecutorTest.java:159) [exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [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 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 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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [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.base/java.lang.Thread.run(Thread.java:834)
      

      Testray
      Jenkins Console

       

      Attachments

        Activity

          People

            kevin.valencia Kevin Valencia
            victor.oscuro Victor Oscuro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.4 DXP U19