Conversation
|
Claude finished @fabrizzio-dotCMS's task in 2m 32s —— View job Code Review
|
…otCMS/core into issue-35131-OS-Migration-Tests
|
Claude finished @fabrizzio-dotCMS's task in 2m 32s —— View job Code Review
|
…otCMS/core into issue-35131-OS-Migration-Tests
Summary
Registers
OpenSearchUpgradeSuiteas a dedicated CI test matrix entry so it runs automatically with the OpenSearch 3.x upgrade container activated. Also includes minor code-quality cleanup inESContentletAPIImpl. This is the CI companion to #35130, which contains the actual test suite implementation.Changes
CI —
.github/test-matrix.ymlIntegration Tests - OpenSearch Upgrade Suitesuite entry underintegrationbase_maven_argswith-Dopensearch.upgrade.test=true, which activates theopensearch-upgradeMaven profile — that profile starts the OpenSearch 3.x Docker container on port 9201 and restricts Failsafe to run onlyOpenSearchUpgradeSuitebase_maven_argsblockBackend —
ESContentletAPIImplcategories.size() < 1→categories.isEmpty()StringBuffer→StringBuilder(non-synchronized context)StringBuilder.append()chainTesting
The suite itself (
OpenSearchUpgradeSuite.javaand its member tests) lives in the companion PR #35130 and must be merged before this CI entry is exercisable end-to-end.To verify the matrix entry locally:
# Requires the opensearch-upgrade profile in dotcms-integration/pom.xml ./mvnw verify -pl :dotcms-integration \ -Dcoreit.test.skip=false \ -Dopensearch.upgrade.test=trueThe profile starts an OpenSearch 3.x container on port 9201 and limits Failsafe to
OpenSearchUpgradeSuite.Breaking Changes
None.
This PR fixes: #35131