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 01ad168d895 Fixed tests
01ad168d895 is described below
commit 01ad168d895e083d7c5cd0c03114dae24b5c1a8d
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Nov 19 13:58:46 2023 +0100
Fixed tests
---
.../spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java | 2 +-
.../resources/org/apache/camel/spring/processor/samplingThrottler.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
b/components/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
index 11149462fd3..b54c81908d4 100644
---
a/components/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
+++
b/components/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
@@ -27,7 +27,7 @@ public class TransactedStackSizeBreakOnExceptionTest extends
TransactionClientDa
private static final boolean PRINT_STACK_TRACE = false;
private int total = 100;
- private int failAt = 80;
+ private int failAt = 85;
@Test
public void testStackSize() throws Exception {
diff --git
a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
index 9fe4c784394..29d09c89614 100644
---
a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
+++
b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
@@ -28,7 +28,7 @@
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:sample"/>
- <sample samplePeriod="1" units="seconds"/>
+ <sample samplePeriod="1000"/>
<to uri="mock:result"/>
</route>
<route>