Aurélien Pupier created CAMEL-27467:
---------------------------------------
Summary: camel-spring-boot - Fix flaky test
SpringBootMcpServerTest.testResourceAndPromptChangeNotificationsAreDelivered
Key: CAMEL-27467
URL: https://issues.apache.org/jira/browse/CAMEL-27467
Project: Camel
Issue Type: Sub-task
Components: camel-spring-boot
Reporter: Aurélien Pupier
Assignee: Aurélien Pupier
Fix For: 4.24.0
{{org.apache.camel.springboot.mcp.server.SpringBootMcpServerTest.testResourceAndPromptChangeNotificationsAreDelivered}}
failed on the first run and passed on the rerun when building with {{-T1C}} on
22 cores (not seen in the sequential and 4 cores runs). The whole test class
took 113s in that run.
{noformat}
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression
in org.apache.camel.springboot.mcp.server.SpringBootMcpServerTest was not
fulfilled within 10 seconds.
{noformat}
The expected notifications are not received within 10 seconds on a loaded
machine. Investigate whether the timeout is only too short or whether a
notification is missed, and fix.
_AI-generated by IBM Bob on behalf of Aurélien Pupier._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)