Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20141

Multiple @Deployment-s in microprofile test suite are attaching unnecessary classes to deployments, e.g. test class itself

XMLWordPrintable

      This is because while the whole test cases are @RunAsClient they are still using testable=true (i.e. the default value) deployments. This ends up with log noise such as:

      2024-12-16 16:43:57,535 INFO  [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 9) WELD-000119: Not generating any bean definitions from org.wildfly.test.integration.observability.opentelemetry.WithSpanTestCase because of underlying class loading error: Type org.jboss.as.test.shared.observability.containers.OpenTelemetryCollectorContainer from [Module "deployment.with-span-test.war" from Service Module Loader] not found.  If this is unexpected, enable DEBUG logging to see the full error.
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: