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

Fix TestActivateFactories.testSetActiveFactories randomly failing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: CI/CD

      Description

      SeeĀ https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/job/PR-3930/92/

      Run unit tests / Run dev unit tests / org.nuxeo.drive.operations.TestActivateFactories.testSetActiveFactories
      
      2020-04-28T07:59:08.745Z] [INFO] Running org.nuxeo.drive.operations.TestActivateFactories
      [2020-04-28T07:59:09.718Z] 2020-04-28 07:59:09,400 [main] WARN  [DetectThreadDeadlocksFeature] Thread dump available at target/tdump-18234794929675932175.log
      [2020-04-28T07:59:10.656Z] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.746 s <<< FAILURE! - in org.nuxeo.drive.operations.TestActivateFactories
      [2020-04-28T07:59:10.656Z] [ERROR] testSetActiveFactories(org.nuxeo.drive.operations.TestActivateFactories)  Time elapsed: 0.775 s  <<< FAILURE!
      [2020-04-28T07:59:10.656Z] java.lang.AssertionError: expected:<1> but was:<2>
      [2020-04-28T07:59:10.656Z] 	at org.junit.Assert.fail(Assert.java:89)
      [2020-04-28T07:59:10.656Z] 	at org.junit.Assert.failNotEquals(Assert.java:835)
      [2020-04-28T07:59:10.656Z] 	at org.junit.Assert.assertEquals(Assert.java:647)
      [2020-04-28T07:59:10.656Z] 	at org.junit.Assert.assertEquals(Assert.java:633)
      [2020-04-28T07:59:10.656Z] 	at org.nuxeo.drive.operations.TestActivateFactories.testSetActiveFactories(TestActivateFactories.java:76)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m

                  PagerDuty

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