jbonofre opened a new pull request, #776: URL: https://github.com/apache/camel-karaf/pull/776
Follow-up to #773 (refs #772): small cleanups to the `camel-mongodb-gridfs` integration test. - **Consume each file once:** the consumer now uses `queryStrategy=FileAttribute`. With the default `TimeStamp` strategy, Camel 4.22.1 routes the same file again on every poll (CAMEL-25607), while the mock expects exactly one message. - **Container host:** use `container.getHost()` instead of a hard-coded `127.0.0.1`. - **Dependency:** remove the `camel-mongodb-gridfs` dependency, since the supplier doesn't import any of its classes. - **Module order:** put `camel-mail`, `camel-mongodb-gridfs` and `camel-netty-http` in alphabetical order in `tests/features/pom.xml`. ### Testing Run locally on JDK 17 with Podman: - `mvn clean install -f tests/features/camel-mongodb-gridfs/pom.xml`: 1 test, 0 failures. - With a temporary `mock.setAssertPeriod(3000)` (not part of this PR), the default strategy fails with `Received message count. Expected: <1> but was: <6>`, and `FileAttribute` passes. A full local build (`mvn clean install -DskipTests`) was still running when this PR was opened, and the other integration tests were not run locally. _AI-generated on behalf of JB Onofré_ -- 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]
