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 2023/08/11 13:30:14 UTC

[camel] branch itest-sql created (now 75980463673)

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

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


      at 75980463673 camel-itest - Make sql test a bit faster

This branch includes the following new commits:

     new 75980463673 camel-itest - Make sql test a bit faster

The 1 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.



[camel] 01/01: camel-itest - Make sql test a bit faster

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7598046367354d70f1648c73e3534467fc4ee538
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Aug 11 15:30:01 2023 +0200

    camel-itest - Make sql test a bit faster
---
 .../camel/itest/sql/FromJmsToJdbcIdempotentConsumerToJmsTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/camel-itest/src/test/java/org/apache/camel/itest/sql/FromJmsToJdbcIdempotentConsumerToJmsTest.java b/tests/camel-itest/src/test/java/org/apache/camel/itest/sql/FromJmsToJdbcIdempotentConsumerToJmsTest.java
index cde02d59868..5b039929cdd 100644
--- a/tests/camel-itest/src/test/java/org/apache/camel/itest/sql/FromJmsToJdbcIdempotentConsumerToJmsTest.java
+++ b/tests/camel-itest/src/test/java/org/apache/camel/itest/sql/FromJmsToJdbcIdempotentConsumerToJmsTest.java
@@ -124,7 +124,7 @@ public class FromJmsToJdbcIdempotentConsumerToJmsTest extends CamelSpringTestSup
 
         // check that there is no message in the database and JMS queue
         assertEquals(0, jdbcTemplate.queryForObject("select count(*) from CAMEL_MESSAGEPROCESSED", int.class));
-        assertNull(consumer.receiveBody("activemq2:queue:outbox", 3000));
+        assertNull(consumer.receiveBody("activemq2:queue:outbox", 100));
     }
 
     @Test
@@ -152,7 +152,7 @@ public class FromJmsToJdbcIdempotentConsumerToJmsTest extends CamelSpringTestSup
 
         // check that there is no message in the database and JMS queue
         assertEquals(0, jdbcTemplate.queryForObject("select count(*) from CAMEL_MESSAGEPROCESSED", int.class));
-        assertNull(consumer.receiveBody("activemq2:queue:outbox", 3000));
+        assertNull(consumer.receiveBody("activemq2:queue:outbox", 100));
     }
 
     @Test
@@ -218,7 +218,7 @@ public class FromJmsToJdbcIdempotentConsumerToJmsTest extends CamelSpringTestSup
     protected void checkInitialState() {
         // check there are no messages in the database and JMS queue
         assertEquals(0, jdbcTemplate.queryForObject("select count(*) from CAMEL_MESSAGEPROCESSED", int.class));
-        assertNull(consumer.receiveBody("activemq2:queue:outbox", 2000));
+        assertNull(consumer.receiveBody("activemq2:queue:outbox", 100));
     }
 
     @Override