apupier commented on PR #30711: URL: https://github.com/apache/camel/pull/30711#issuecomment-7156904167
Addressed the review feedback on the latest commit: 1. **Submission Retry Abort on Interruption and Shutdown**: In `SemanticEvaluateConsole.doCallJson`, replaced `LockSupport.parkNanos` with `TimeUnit.MICROSECONDS.sleep(100)` and added an explicit `if (exec.isShutdown())` check so submission retry loops terminate immediately on executor shutdown or thread interruption, restoring the interrupt flag and recording the cancellation outcome. Removed `result == null` fallback branch. 2. **Virtual Thread Transient Rejection & Recovery Test**: In `virtualThreadSubmissionDoesNotBlockBeyondDeadline`, asserted the timeout message when the caller deadline expires, and added a scenario verifying that a task encountering transient permit rejection (`boundedExec.getRejectedCount() > 0`) while worker 1 is held successfully retries and completes with `status=success` once worker 1 releases its permit. 3. **Controlled Worker Deadline Guard Test**: In `workerStartingAfterDeadlineReturnsTimeoutResponse`, replaced wall-clock wait with countdown latches (`callerEnteredGet` and `workerFinished`) coordinating caller's timed `get()` and the in-worker deadline check. Confirmed that removing the worker deadline check causes the test to fail. _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]
