gnodet opened a new pull request, #29151: URL: https://github.com/apache/camel/pull/29151
## Summary Fixes [CAMEL-26528](https://issues.apache.org/jira/browse/CAMEL-26528): `DevModeITCase.testDeleteFileViaHttp` has been failing on every build for 15+ consecutive runs. ## Root Cause Commit [8f2fdff9](https://github.com/apache/camel/commit/8f2fdff9bfc4) (CAMEL-25427, 8 Oct 2026) fixed `RouteWatcherReloadStrategy` to skip deleted files via `isDeletedFile()` instead of letting them propagate as `FileNotFoundException`. As a side effect, the log message `"FromDirectoryRoute.java does not exist"` is no longer emitted after an HTTP DELETE, leaving the test assertion waiting forever. ## Fix Replace the stale log assertion with two checks that match the corrected behavior: 1. Assert on `"Deleting file:"` logged by `ManagementHttpServer` when the HTTP DELETE is handled — confirms the request was received and the file removed from the source directory. 2. Poll `camel get route` via Awaitility until `route1` disappears — confirms `RouteWatcherReloadStrategy` silently removed the route after detecting the file was gone. The `@JiraIssue("CAMEL-26528")` annotation is added for traceability. --- _This PR was created by an AI coding agent (Hermes) on behalf of gnodet._ -- 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]
