[
https://issues.apache.org/jira/browse/CAMEL-22781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani resolved CAMEL-22781.
--------------------------------------
Resolution: Fixed
> camel-spring-boot - Virtual threads test is failing
> ---------------------------------------------------
>
> Key: CAMEL-22781
> URL: https://issues.apache.org/jira/browse/CAMEL-22781
> Project: Camel
> Issue Type: Task
> Components: camel-spring-boot-starters
> Affects Versions: 4.17.0
> Reporter: Thomas Cunningham
> Assignee: Federico Mariani
> Priority: Minor
> Fix For: 4.17.0
>
>
> Getting the following failure on JDK 21 (this test doesn't run on JDK 17) -
> should camel.threads.virtual.enabled be set in
> SpringBootPlatformHttpAutoConfiguration.java?
> {code:java}
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR]
> org.apache.camel.component.platform.http.springboot.SpringBootPlatformHttpCamelVirtualThreadsTest.testCamelVirtualThreadPropertyIsSet
> [ERROR] Run 1:
> SpringBootPlatformHttpCamelVirtualThreadsTest.testCamelVirtualThreadPropertyIsSet:82
> [camel.threads.virtual.enabled should be automatically set when
> spring.threads.virtual.enabled=true]
> expected: "true"
> but was: null
> [ERROR] Run 2:
> SpringBootPlatformHttpCamelVirtualThreadsTest.testCamelVirtualThreadPropertyIsSet:82
> [camel.threads.virtual.enabled should be automatically set when
> spring.threads.virtual.enabled=true]
> expected: "true"
> but was: null
> [ERROR] Run 3:
> SpringBootPlatformHttpCamelVirtualThreadsTest.testCamelVirtualThreadPropertyIsSet:82
> [camel.threads.virtual.enabled should be automatically set when
> spring.threads.virtual.enabled=true]
> expected: "true"
> but was: null
> [INFO]
> [WARNING] Flakes:
> [WARNING]
> org.apache.camel.component.platform.http.springboot.SpringBootPlatformHttpRequestTimeoutTest.testGetAsync
> [ERROR] Run 1: SpringBootPlatformHttpRequestTimeoutTest.testGetAsync:50
> expected: 503 SERVICE_UNAVAILABLE
> but was: 200 OK
> [INFO] Run 2: PASS{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)