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 5ba5be16400 camel-itest - Make sql test a bit faster (#11085)
5ba5be16400 is described below
commit 5ba5be164008abed3956adc65cac86f36c832c9a
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Aug 11 16:26:37 2023 +0200
camel-itest - Make sql test a bit faster (#11085)
---
.../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