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

Fix ITSafeEditTest#testSafeEditOnSelect2 assertion failure under Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.9.4-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Tests

      Description

      See https://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-tests-dm-tomcat-oracle10/598/console

      10:38:42 10:38:42,538 WARN  [Select2WidgetElement] Suggestion for element s2id_document_edit:nxl_dublincore:nxw_coverage_select2 returned more than 1 result, the first suggestion will be selected : Algeria
      10:38:44 10:38:44,848 ERROR [AbstractTest] Test 'org.nuxeo.functionaltests.ITSafeEditTest#testSafeEditOnSelect2' failed
      10:38:44 java.lang.AssertionError: 
      10:38:44 	at org.junit.Assert.fail(Assert.java:91)
      10:38:44 	at org.junit.Assert.assertTrue(Assert.java:43)
      10:38:44 	at org.junit.Assert.assertTrue(Assert.java:54)
      10:38:44 	at org.nuxeo.functionaltests.ITSafeEditTest.testSafeEditOnSelect2(ITSafeEditTest.java:375)
      10:38:44 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:38:44 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      10:38:44 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      10:38:44 	at java.lang.reflect.Method.invoke(Method.java:606)
      10:38:44 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      10:38:44 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      10:38:44 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      10:38:44 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      10:38:44 	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:96)
      10:38:44 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      10:38:44 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      10:38:44 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      10:38:44 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      10:38:44 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      10:38:44 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      10:38:44 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      10:38:44 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      10:38:44 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      10:38:44 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      10:38:44 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      10:38:44 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      10:38:44 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      10:38:44 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      10:38:44 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      10:38:44 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      10:38:45 Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.097 sec <<< FAILURE! - in org.nuxeo.functionaltests.ITSafeEditTest
      10:38:45 testSafeEditOnSelect2(org.nuxeo.functionaltests.ITSafeEditTest)  Time elapsed: 30.5 sec  <<< FAILURE!
      10:38:45 java.lang.AssertionError: 
      10:38:45 	at org.junit.Assert.fail(Assert.java:91)
      10:38:45 	at org.junit.Assert.assertTrue(Assert.java:43)
      10:38:45 	at org.junit.Assert.assertTrue(Assert.java:54)
      10:38:45 	at org.nuxeo.functionaltests.ITSafeEditTest.testSafeEditOnSelect2(ITSafeEditTest.java:375)
      

      Linking to NXP-13875 and NXP-13651 as it might be related.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: