You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2022/12/24 18:58:00 UTC

[jira] [Created] (TOMEE-4133) Rewrite test assumptions for EjbContextInjectionTest and EjbInterceptorContextInjectionTest regarding exception mapper

Richard Zowalla created TOMEE-4133:
--------------------------------------

             Summary: Rewrite test assumptions for EjbContextInjectionTest and EjbInterceptorContextInjectionTest regarding exception mapper
                 Key: TOMEE-4133
                 URL: https://issues.apache.org/jira/browse/TOMEE-4133
             Project: TomEE
          Issue Type: Task
          Components: TomEE Arquillian Adapters, TomEE Core Server
    Affects Versions: 9.0.0.RC1, 9.0.0
            Reporter: Richard Zowalla


MicroProfile Open Tracing (3.0.0) TCK requires JAX-RS 3.1 to fully pass, i.e. there needs to be a default exception mapper for Throwable available.

Details can be found in https://issues.redhat.com/browse/RESTEASY-1758

TomEE 9.0 targets EE9.1, which requires compliance with JAX-RS 3.0. JAX-RS 3.1 targets EE10 (TomEE 10).

Currently, we add MicroProfileOpenTracingExceptionMapper if MP support is enabled in TomEE.

This breaks our test assumptions in two places:

- EjbContextInjectionTest
- EjbInterceptorContextInjectionTest

After a discussion via Slack, we decided to comment out the related test assumption and fix them accordingly with TomEE 10 / EE10: https://the-asf.slack.com/archives/CGN2PPR55/p1671799712556709




--
This message was sent by Atlassian Jira
(v8.20.10#820010)