[xwiki/xwiki-commons] 650041: XCOMMONS-2092: Fix the remaining new SonarCloud fi...
Branch: refs/heads/XCOMMONS-2092 Home: https://github.com/xwiki/xwiki-commons Commit: 65004150b52802b1a23e25a5c71617f553a734e4 https://github.com/xwiki/xwiki-commons/commit/65004150b52802b1a23e25a5c71617... Author: Simon Urli <[email protected]> Date: 2026-09-17 (Thu, 17 Sep 2026) Changed paths: M xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-default/src/test/java/org/xwiki/job/internal/DefaultJobExecutorTest.java Log Message: ----------- XCOMMONS-2092: Fix the remaining new SonarCloud finding java:S5961 on matchingGroupPathAreBlockedPoolMultiSizeParentFirst (28 assertions, threshold 25): the assertion count itself is unchanged by this PR's edits (same 18 direct assertions as on master before XCOMMONS-2092); rewriting lines within the method just re-dated a pre-existing finding into the PR's new-code period. The count is inherent to verifying every step of a long sequential concurrent state machine - splitting the method would duplicate its shared setup and lose the ordering guarantees between steps that are the point of the test. Suppressed alongside S2925, with a comment covering both. Co-Authored-By: Claude Sonnet 5 <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications