Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20132

Fix TestReplay.shouldImportAllNonBuggyNodes on importer for MySQL and MariaDB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF14, 8.10
    • Component/s: Importer
    • Sprint:
      nxfit 8.4.1
    • Story Points:
      3

      Description

      TestReplay.shouldImportAllNonBuggyNodes failed on MySQL and MariaDB.
      Generally, at least one test in TestReplay failed. If you only run shouldImportAllNonBuggyNodesWithSlowConsumer and shouldImportAllNonBuggyNodesWithSlowProducer, the first one will fail.

      java.lang.AssertionError: Count of documents that should have been created after import expected:<95> but was:<0>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.nuxeo.ecm.platform.importer.queue.tests.TestReplay.importWithBuggyNodes(TestReplay.java:96)
      	at org.nuxeo.ecm.platform.importer.queue.tests.TestReplay.shouldImportAllNonBuggyNodes(TestReplay.java:58)
      	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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:467)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:346)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:362)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:393)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:412)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:270)
      	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      

      https://qa.nuxeo.org/jenkins/view/All/job/master/job/nuxeo-master-fullbuild-part1-multidb-linux/Slave=MULTIDB_LINUX,dbprofile=mysql,jdk=java-8-oracle/63/#showFailuresLink

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: