[
https://issues.apache.org/jira/browse/OAK-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim updated OAK-12022:
-------------------------------
Description:
h3. Summary
Enable Pax Exam 4.14.0 in oak-store-composite and upgrade the parent-managed
Sling Testing PaxExam dependency to 4.1.2 across Oak. Verify the affected
integration tests on Java 17, 21 and 25.
The composite module currently pins Pax Exam 4.13.1 because upgrading the
existing test setup fails. Sling Testing PaxExam 3.1.0 uses the older
TinyBundles API; upgrading Sling test support aligns it with the TinyBundles
API required by Pax Exam 4.14.0.
h3. Scope
* Remove oak-store-composite's Pax Exam 4.13.1 override so it inherits 4.14.0.
* Upgrade parent-managed Sling Testing PaxExam from 3.1.0 to 4.1.2 and remove
redundant module version overrides.
* Retain Sling TestSupport rather than duplicating its framework setup locally.
* Provision SPI Fly with ASM support for Java 25 in both the composite and OSGi
integration tests. SPI Fly framework extension 1.3.7 embeds ASM 9.6 and fails
on Java 25 class-file version 69; the published SPI Fly 1.3.8 release includes
newer ASM.
h3. Acceptance criteria
# oak-store-composite uses Pax Exam 4.14.0 and Sling Testing PaxExam 4.1.2.
# oak-it-osgi inherits Sling Testing PaxExam 4.1.2 from oak-parent.
# Existing unit and integration tests in oak-store-composite and oak-it-osgi
pass on actual Java 17, 21 and 25, with any unavailable external-service test
coverage stated explicitly.
# Test assertions remain intact and no production repository behavior changes.
h3. Tracking
This issue includes the upgrade and Java verification scope formerly tracked by
OAK-12492.
Implementation: [PR #3267|https://github.com/apache/jackrabbit-oak/pull/3267].
The alternative [PR #3247|https://github.com/apache/jackrabbit-oak/pull/3247]
will be superseded once the replacement is validated. Keep this issue open
until the consolidated change is verified and merged.
was:Currently fails due to NPE.
Summary: Update Pax Exam to 4.14.0 and Sling Testing PaxExam to 4.1.2
(was: oak-store-composite: Update pax-exam test dependency to 4.14.0 )
> Update Pax Exam to 4.14.0 and Sling Testing PaxExam to 4.1.2
> ------------------------------------------------------------
>
> Key: OAK-12022
> URL: https://issues.apache.org/jira/browse/OAK-12022
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: composite
> Reporter: Julian Reschke
> Assignee: Rishabh Daim
> Priority: Minor
>
> h3. Summary
> Enable Pax Exam 4.14.0 in oak-store-composite and upgrade the parent-managed
> Sling Testing PaxExam dependency to 4.1.2 across Oak. Verify the affected
> integration tests on Java 17, 21 and 25.
> The composite module currently pins Pax Exam 4.13.1 because upgrading the
> existing test setup fails. Sling Testing PaxExam 3.1.0 uses the older
> TinyBundles API; upgrading Sling test support aligns it with the TinyBundles
> API required by Pax Exam 4.14.0.
> h3. Scope
> * Remove oak-store-composite's Pax Exam 4.13.1 override so it inherits 4.14.0.
> * Upgrade parent-managed Sling Testing PaxExam from 3.1.0 to 4.1.2 and remove
> redundant module version overrides.
> * Retain Sling TestSupport rather than duplicating its framework setup
> locally.
> * Provision SPI Fly with ASM support for Java 25 in both the composite and
> OSGi integration tests. SPI Fly framework extension 1.3.7 embeds ASM 9.6 and
> fails on Java 25 class-file version 69; the published SPI Fly 1.3.8 release
> includes newer ASM.
> h3. Acceptance criteria
> # oak-store-composite uses Pax Exam 4.14.0 and Sling Testing PaxExam 4.1.2.
> # oak-it-osgi inherits Sling Testing PaxExam 4.1.2 from oak-parent.
> # Existing unit and integration tests in oak-store-composite and oak-it-osgi
> pass on actual Java 17, 21 and 25, with any unavailable external-service test
> coverage stated explicitly.
> # Test assertions remain intact and no production repository behavior changes.
> h3. Tracking
> This issue includes the upgrade and Java verification scope formerly tracked
> by OAK-12492.
> Implementation: [PR
> #3267|https://github.com/apache/jackrabbit-oak/pull/3267]. The alternative
> [PR #3247|https://github.com/apache/jackrabbit-oak/pull/3247] will be
> superseded once the replacement is validated. Keep this issue open until the
> consolidated change is verified and merged.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)