davsclaus commented on PR #26603: URL: https://github.com/apache/camel/pull/26603#issuecomment-5733983730
Added `testBulkheadRejectedWithFallbackCounter` to both `ResilienceCallCountersTest` and `FaultToleranceCallCountersTest`: a bulkhead with one permit, the first call holds it while it is slow, the second is rejected by the bulkhead and answered by the fallback, and the test asserts `getNumberOfBulkheadRejectedCalls() == 1`, `getNumberOfFallbackCalls() == 1` and the not-permitted and timed-out counters at zero. That exercises the `instanceof BulkheadFullException` / `BulkheadException` check inside the fallback path, which is the one you pointed at. Both pass locally. -- 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]
