sergehuber opened a new pull request, #772: URL: https://github.com/apache/unomi/pull/772
## Summary - Backport the in-memory persistence test harness from `unomi-3-dev` and land the first batch of independent service unit tests (300 tests in `services`). - Add minimal `persistence-spi` hooks (`addEvaluator`/`removeEvaluator`, `setDefinitionsService`) and modern date-type handling in `DateUtils` so the harness compiles and runs on `master` without tracing or validation modules. - Adapt test utilities for master: no-op `TestRequestTracer`, stripped validation/tracing factories from `TestHelper`, explicit crash simulation in scheduler recovery test. Part **1/2** of UNOMI-881. Tests that depend on tracing (UNOMI-873) or condition validation (UNOMI-883) are deferred to a follow-up PR. ## Test plan - [x] `mvn -pl services -am test -Dmaven.build.cache.enabled=false -Dsurefire.failIfNoSpecifiedTests=false` - [x] 300 unit tests pass (InMemoryPersistence, cache, cluster, profiles, scheduler, execution context, tenant harness) - [ ] CI green on PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
