oscerd commented on code in PR #29837:
URL: https://github.com/apache/camel/pull/29837#discussion_r4663313819


##########
components/camel-opa/src/test/java/org/apache/camel/component/opa/OpaWasmIT.java:
##########
@@ -151,6 +151,33 @@ private List<HealthCheck> producerChecks() {
      * In {@code wasm} mode the policy is evaluated in-process, so there is no 
OPA server to probe and no producer
      * health check is registered (CAMEL-24743).
      */
+    @Test
+    void observesActualWasmPoolBorrowWithoutCreatingAnotherSpan() throws 
Exception {
+        var events = new 
java.util.ArrayList<org.apache.camel.support.security.AuthorizationDecisionEvent>();

Review Comment:
   Imported in (35f519334a88): `ArrayList`, `CamelEvent`, 
`EventNotifierSupport` and `AuthorizationDecisionEvent` are imports now. The 
test also moved above the CAMEL-24743 Javadoc, which belongs to 
`registersTheCheckForTheRestRouteButNotTheWasmRoute`, and is named 
`wasmEvaluationPublishesOneDecisionEventWithItsPoolWait` after what it asserts. 
_Claude Code on behalf of oscerd_
   
   _Claude Code on behalf of oscerd_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to