Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-4133

Rewrite test assumptions for EjbContextInjectionTest and EjbInterceptorContextInjectionTest regarding exception mapper

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            rzo1 Richard Zowalla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: