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

Fix random ConfigurationMarshallerTest.testPersistNuxeoConf*

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.x, 2021.x
    • Component/s: Configuration
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #32
    • Story Points:
      0

      Description

      These tests are random in our CI:

      • testPersistNuxeoConfConfiguratorParameters
      • testPersistNuxeoConfUniqueParameters
      • testPersistNuxeoConfNoTemplatesParameter
      • testPersistNuxeoConfCommentedParameters

      The last modified time of persisted nuxeo.conf are sometime the same, the whole test class is executed in less than 30ms, and writing the file happens in less than a nanosecond. This is probably due to high performance of the FS and CPU on the CI.

      We want to remove the assertion on the last modified time and only leverage the file content assertion, this should be enough as we change the content.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

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