You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/02/04 06:26:02 UTC

[camel] branch main updated (0f68337 -> 1aa2609)

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

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


    from 0f68337  Infinispan uses caffeine 2.x
     new e03a281  Fix flaky test on slow CI servers
     new 1aa2609  Fix test

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../camel/component/file/FileConsumerExcludeNameTest.java      | 10 +++++-----
 .../camel/processor/resequencer/ResequencerEngineTest.java     |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

[camel] 01/02: Fix flaky test on slow CI servers

Posted by da...@apache.org.
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

commit e03a2815d726dbd1ef50cc1c18e593fea64159a5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 4 07:23:31 2022 +0100

    Fix flaky test on slow CI servers
---
 .../org/apache/camel/processor/resequencer/ResequencerEngineTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
index 99cec97..c436f38 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java
@@ -169,7 +169,7 @@ public class ResequencerEngineTest extends TestSupport {
         runner.start();
 
         // wait for runner to run
-        await().atMost(1, TimeUnit.SECONDS).until(runner::isRunning);
+        await().atMost(3, TimeUnit.SECONDS).until(runner::isRunning);
     }
 
 }

[camel] 02/02: Fix test

Posted by da...@apache.org.
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

commit 1aa260913a94a6f5905e883897854932e6bf1ab2
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 4 07:25:27 2022 +0100

    Fix test
---
 .../camel/component/file/FileConsumerExcludeNameTest.java      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java
index 3c52f6b..f73ceb8 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerExcludeNameTest.java
@@ -28,13 +28,13 @@ import org.junit.jupiter.api.Test;
 public class FileConsumerExcludeNameTest extends ContextTestSupport {
 
     @Test
-    public void testExludePreAndPostfixes() throws Exception {
-        prepareFiles();
-
+    public void testExcludePreAndPostfixes() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedBodiesReceivedInAnyOrder("Reports1", "Reports2", "Reports3");
-        mock.expectedMessageCount(3);
-        mock.assertIsSatisfied();
+
+        prepareFiles();
+
+        assertMockEndpointsSatisfied();
     }
 
     private void prepareFiles() throws Exception {