This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 81788580e56b chore: fix flaky camel-atom test expected message count
81788580e56b is described below

commit 81788580e56b0777c6413a2aa538e5c58c82e9d9
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 2 13:34:01 2026 +0200

    chore: fix flaky camel-atom test expected message count
    
    The feed.atom test data has 3 entries containing "ActiveMQ" but the
    test only expected 2, causing intermittent failures.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../camel/component/atom/AtomGoodBlogsCustomItempotencyTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsCustomItempotencyTest.java
 
b/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsCustomItempotencyTest.java
index d79874e48d67..a2ec5ce58c3d 100644
--- 
a/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsCustomItempotencyTest.java
+++ 
b/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomGoodBlogsCustomItempotencyTest.java
@@ -89,8 +89,8 @@ public class AtomGoodBlogsCustomItempotencyTest {
         // Get the mock endpoint
         MockEndpoint mock = context.getEndpoint("mock:result", 
MockEndpoint.class);
 
-        // There should be at least two good blog entries from the feed
-        mock.expectedMessageCount(2);
+        // There should be three good blog entries from the feed (containing 
"ActiveMQ")
+        mock.expectedMessageCount(3);
 
         // Asserts that the above expectations is true, will throw assertions 
exception if it failed
         // Camel will default wait max 20 seconds for the assertions to be 
true, if the conditions

Reply via email to