apupier opened a new pull request, #30779: URL: https://github.com/apache/camel/pull/30779
# Description Avoid dynamically creating and stubbing Mockito mocks inside the `thenAnswer` callback during consumer execution in `AzureStorageBlobCloudEventDataTypeTransformerRouteTest`. When tests run concurrently in Maven/Surefire, Mockito's internal stubbing state (`MockingProgress`) could be corrupted, leading to `openInputStream()` returning null, an NPE during exchange creation, and the second message being dropped. Preconfiguring the `BlobClient` mock upfront in `setupResources()` avoids ongoing stubbing across threads. _IBM Bob on behalf of apupier_ -- 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]
