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

Run multi-environment unit tests with the StreamWorkManager

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 11.x
    • Component/s: CI/CD

      Description

      Following NXP-28619, we might want to activate the StreamWorkManager when running the tests against MongoDB and PostgreSQL, using the following option:

      -Dnuxeo.test.workmanager=stream
      

      Yet, this might produce an overhead with the increasing number of Kafka topics created during the tests.
      Depending on if this delay is acceptable, we can either:

      1/ Activate this option systematically, on PRs and master.
      2/ Activate it on PRs only if a streamworkmanager label is set and systematically on master.

      If we choose 1/, we should be able to update the kafka Maven profile to include the nuxeo.test.workmanager=stream property.

      Note: when using the StreamWorkManager, we should disable TestRedisWorkShutdown which doesn't make any sense in this case.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: