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

Fix TestAggregates.testPageProviderBooleanAggregate failing against MongoDB

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 11.x, 2021.x
    • Component/s: Elasticsearch

      Description

      See below:

      [2021-04-12T13:52:56.393Z] [INFO] Running org.nuxeo.elasticsearch.test.aggregates.TestAggregates
      [2021-04-12T13:53:04.525Z] [ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.27 s <<< FAILURE! - in org.nuxeo.elasticsearch.test.aggregates.TestAggregates
      [2021-04-12T13:53:04.525Z] [ERROR] testPageProviderBooleanAggregate(org.nuxeo.elasticsearch.test.aggregates.TestAggregates)  Time elapsed: 0.667 s  <<< FAILURE!
      [2021-04-12T13:53:04.525Z] java.lang.AssertionError: expected:<10> but was:<11>
      [2021-04-12T13:53:04.525Z] 	at org.junit.Assert.fail(Assert.java:89)
      [2021-04-12T13:53:04.525Z] 	at org.junit.Assert.failNotEquals(Assert.java:835)
      [2021-04-12T13:53:04.525Z] 	at org.junit.Assert.assertEquals(Assert.java:647)
      [2021-04-12T13:53:04.525Z] 	at org.junit.Assert.assertEquals(Assert.java:633)
      [2021-04-12T13:53:04.525Z] 	at org.nuxeo.elasticsearch.test.aggregates.TestAggregates.testPageProviderBooleanAggregate(TestAggregates.java:469)
      [2021-04-12T13:53:04.525Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2021-04-12T13:53:04.525Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [2021-04-12T13:53:04.525Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2021-04-12T13:53:04.526Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      [2021-04-12T13:53:04.526Z] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      [2021-04-12T13:53:04.526Z] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:396)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:410)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:432)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:445)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:326)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:343)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515)
      [2021-04-12T13:53:04.526Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:326)
      [2021-04-12T13:53:04.526Z] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.Suite.runChild(Suite.java:128)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.Suite.runChild(Suite.java:27)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      [2021-04-12T13:53:04.526Z] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      [2021-04-12T13:53:04.526Z] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      [2021-04-12T13:53:04.526Z] 
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.