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

Fix random PG StreamWorkManagerTest itCanFireWorkFailureEvent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 11.x
    • Component/s: Events / Works

      Description

      Regression
      
      Run unit tests / Run postgresql unit tests / org.nuxeo.ecm.core.work.StreamWorkManagerTest.itCanFireWorkFailureEvent
      Failing for the past 1 build (Since Failed#633 )
      Took 7.2 sec.
      add description
      Stacktrace
      
      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:87)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.junit.Assert.assertTrue(Assert.java:53)
      	at org.nuxeo.ecm.core.work.AbstractWorkManagerTest.itCanFireWorkFailureEvent(AbstractWorkManagerTest.java:337)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      2020-09-09 11:57:29,066 [main] WARN  [StreamWorkManager] default timeout after: 6.00s, [default, 1, 1, 0, 0]
      

      There is a wait for the completion of async work for 6s.

      6s is perhaps a bad choice, just use 1min so we get out of borderline case where infra is is just very slow.

      Seen here:
      https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/job/master/633/testReport/junit/org.nuxeo.ecm.core.work/StreamWorkManagerTest/Run_unit_tests___Run_postgresql_unit_tests___itCanFireWorkFailureEvent/

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: