sergehuber opened a new pull request, #788: URL: https://github.com/apache/unomi/pull/788
## Summary - Fix intermittent CI failure in `GoalsServiceImplTest.testSetGoalWithNestedConditions` (seen on PR #787 full `./build.sh --ci` run; passed on rerun). - Align `@AfterEach` teardown with `RulesServiceImplTest`: shut down `TestEventAdmin`, `RulesServiceImpl`, scheduler, and detach the rules event listener. - Clear `ExecutionContextManager` thread-local context between tests to avoid tenant leakage across the Surefire JVM. - Run nested-condition `setGoal` under `executeAsSystem()` so system-tenant condition types resolve reliably; add `assertNotNull` guards and explicit `goal.setItemId`. ## Context Unrelated to REST exception mapping (#787). Test-only change; no production code. ## Test plan - [x] `mvn -pl services test -Dmaven.build.cache.enabled=false -Dtest=GoalsServiceImplTest` - [ ] Full CI `./build.sh --ci` (unit tests) -- 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]
