Croway opened a new pull request, #1732:
URL: https://github.com/apache/camel-spring-boot/pull/1732

   ## Summary
   
   - Fix 
`SpringBootPlatformHttpVirtualThreadsOptimizedTest.testVirtualThreadExecutorIsPreferred`
 which fails because Spring Boot 4.0.4's `TaskExecutionAutoConfiguration` uses 
`@ConditionalOnMissingBean(Executor.class)` when auto-configuring 
`SimpleAsyncTaskExecutor` for virtual threads. When another `Executor` bean is 
registered first (e.g. by Spring Security auto-configuration), the auto-config 
backs off and no `SimpleAsyncTaskExecutor` is created.
   - Explicitly define a `SimpleAsyncTaskExecutor` bean in the test's 
`TestConfiguration` using `SimpleAsyncTaskExecutorBuilder`, matching the 
approach used by the passing 
`SpringBootPlatformHttpMultipleExecutorsVirtualThreadsTest`.
   
   ## Test plan
   
   - [ ] Verify 
`SpringBootPlatformHttpVirtualThreadsOptimizedTest.testVirtualThreadExecutorIsPreferred`
 passes
   - [ ] Verify other virtual threads tests 
(`SpringBootPlatformHttpMultipleExecutorsVirtualThreadsTest`, 
`SpringBootPlatformHttpVirtualThreadsTest`) still pass
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of 
Federico Mariani


-- 
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