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.
- is related to
-
NXP-28619 Run Nuxeo Platform unit tests against Kafka
- Resolved