Skip to content

CADB-184: Fix Failing Integration Tests in SJP for Java 25 Upgrade - #159

Open
KarthikaRenjith1 wants to merge 1 commit into
team/25.104.xfrom
team/java25-IT-fix
Open

KarthikaRenjith1 wants to merge 1 commit into
team/25.104.xfrom
team/java25-IT-fix

Conversation

@KarthikaRenjith1

Copy link
Copy Markdown

Jira link

https://hmcts.atlassian.net/browse/CADB-184

See PROJ-XXXXXX

Change description

CaseUnassignmentIT/AssignmentRulesIT

issues: Tests failed intermittently with ConditionTimeoutException in AssignmentHelper- assignment/ unassignment was requested immediately after case creation, before the case's read model row was confirmed ready, racing the eventually projection.

Fix
Added CaseHelper.pollUntilCaseReady(caseId) before the assignment step, using the same readiness-polling pattern already used elsewhere in the suite. Test only change no production code touched.

Testing done

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@KarthikaRenjith1
KarthikaRenjith1 requested a review from a team as a code owner September 28, 2026 12:57
@KarthikaRenjith1
KarthikaRenjith1 requested review from SeemaSajan, ZaheerIqbal-HMCTS and aykutdanisman and removed request for a team September 28, 2026 12:57
@KarthikaRenjith1 KarthikaRenjith1 changed the title Fix : initial commit for Java 25- Integration Test fix CADB-184: Fix Failing Integration Tests in SJP for Java 25 Upgrade Sep 28, 2026
@cpp-github-management

Copy link
Copy Markdown

Passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant