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

Fix Flaky UT TestVideosObjectt#testRecomputeOneAfterRecomputeAll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.9, 2021.51
    • Component/s: Convert

      Description

      Seen on CI against postgresql

      [2024-02-26T12:26:12.879Z] [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 69.621 s <<< FAILURE! - in org.nuxeo.ecm.restapi.server.jaxrs.management.TestVideosObject
      [2024-02-26T12:26:12.879Z] [ERROR] testRecomputeOneAfterRecomputeAll(org.nuxeo.ecm.restapi.server.jaxrs.management.TestVideosObject)  Time elapsed: 0.939 s  <<< FAILURE!
      [2024-02-26T12:26:12.879Z] java.lang.AssertionError: expected:<1> but was:<0>
      [2024-02-26T12:26:12.879Z] 	at org.junit.Assert.fail(Assert.java:89)
      [2024-02-26T12:26:12.879Z] 	at org.junit.Assert.failNotEquals(Assert.java:835)
      [2024-02-26T12:26:12.879Z] 	at org.junit.Assert.assertEquals(Assert.java:647)
      [2024-02-26T12:26:12.879Z] 	at org.junit.Assert.assertEquals(Assert.java:633)
      [2024-02-26T12:26:12.879Z] 	at org.nuxeo.ecm.restapi.server.jaxrs.management.TestVideosObject.assertResponse(TestVideosObject.java:201)
      [2024-02-26T12:26:12.879Z] 	at org.nuxeo.ecm.restapi.server.jaxrs.management.TestVideosObject.doTestRecomputeVideos(TestVideosObject.java:184)
      [2024-02-26T12:26:12.879Z] 	at org.nuxeo.ecm.restapi.server.jaxrs.management.TestVideosObject.testRecomputeOneAfterRecomputeAll(TestVideosObject.java:122)
      [2024-02-26T12:26:12.879Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: