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

Fix ITSearchTabTest#testSearch random failure due to missing tear down

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Search Tab, Tests

      Description

      Seen here:

      Stacktrace is

      16:36:13 14:36:14,966 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITSearchTabTest#testSearch' failed
      16:36:13 java.lang.AssertionError: expected:<1> but was:<2>
      16:36:13 	at org.junit.Assert.fail(Assert.java:88)
      16:36:13 	at org.junit.Assert.failNotEquals(Assert.java:743)
      16:36:13 	at org.junit.Assert.assertEquals(Assert.java:118)
      16:36:13 	at org.junit.Assert.assertEquals(Assert.java:555)
      16:36:13 	at org.junit.Assert.assertEquals(Assert.java:542)
      16:36:13 	at org.nuxeo.ftest.cap.ITSearchTabTest.testSearch(ITSearchTabTest.java:128)
      16:36:13 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      16:36:13 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      16:36:13 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      16:36:13 	at java.lang.reflect.Method.invoke(Method.java:606)
      16:36:13 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      16:36:13 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      16:36:13 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      16:36:13 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      16:36:13 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      16:36:13 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      16:36:13 	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:94)
      16:36:13 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      16:36:13 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      16:36:13 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      16:36:13 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      16:36:13 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      16:36:13 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      16:36:13 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      16:36:13 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      16:36:13 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      16:36:13 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      16:36:13 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      16:36:13 	at org.junit.runners.Suite.runChild(Suite.java:127)
      16:36:13 	at org.junit.runners.Suite.runChild(Suite.java:26)
      16:36:13 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      16:36:13 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      16:36:13 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      16:36:13 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      16:36:13 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      16:36:13 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      16:36:13 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      16:36:13 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      16:36:13 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      16:36:13 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      16:36:13 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      16:36:13 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      16:36:13 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      16:36:13 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      16:36:13 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      16:36:15 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.027 sec <<< FAILURE! - in org.nuxeo.ftest.cap.ITSearchTabTest
      16:36:15 testSearch(org.nuxeo.ftest.cap.ITSearchTabTest)  Time elapsed: 47.324 sec  <<< FAILURE!
      16:36:15 java.lang.AssertionError: expected:<1> but was:<2>
      16:36:15 	at org.junit.Assert.fail(Assert.java:88)
      16:36:15 	at org.junit.Assert.failNotEquals(Assert.java:743)
      16:36:15 	at org.junit.Assert.assertEquals(Assert.java:118)
      16:36:15 	at org.junit.Assert.assertEquals(Assert.java:555)
      16:36:15 	at org.junit.Assert.assertEquals(Assert.java:542)
      16:36:15 	at org.nuxeo.ftest.cap.ITSearchTabTest.testSearch(ITSearchTabTest.java:128)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grenard Guillaume Renard
                Reporter:
                grenard Guillaume Renard
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: