apupier opened a new pull request, #31360: URL: https://github.com/apache/camel/pull/31360
_Bob (IBM Bob) on behalf of apupier_ Partially addresses [CAMEL-25662](https://issues.apache.org/jira/browse/CAMEL-25662) (flaky `WebSocketCliConnectorTransportTest`). It does **not** claim to fix the root cause of the reported failures. ## Changes - `WebSocketCliConnectorTransport`: a failed action is now logged at WARN with its exception, as `FileCliConnectorTransport` already does. The result frame only holds the message, which for a `ConcurrentModificationException` is just the class name, so the reported `"error":"ConcurrentModificationException"` could not be traced to its source. - `WebSocketCliConnectorTransportTest.reconnectsWhenTheToolStopsAnswering`: the test paused the server socket and never resumed it. Closing the Vert.x server in the teardown then timed out (10 s `TimeoutException` in `ToolServer.close()`); seen in 2 of 22 whole-module runs. The socket is now resumed in a `finally`. ## Investigation The CME and the Awaitility failures from the ticket could not be reproduced locally: 250 repeats of the affected tests in one JVM, parallel JVMs, a 5 ms snapshot interval, and a 70 s stress run (about 820,000 actions against a concurrent snapshot loop) all passed. The new log should show the origin of the CME on the next CI occurrence. ## Testing `WebSocketCliConnectorTransportTest`: 24 tests pass. -- 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]
