This is an automated email from the ASF dual-hosted git repository.
Croway pushed a commit to branch camel-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.18.x by this push:
new 5535476a67d1 chore: suppress inherited
testSamplingWithPropertyPlaceholder in Spring XML test
5535476a67d1 is described below
commit 5535476a67d1ee3b82f6a64afff755252f66bc16
Author: Croway <[email protected]>
AuthorDate: Mon May 4 17:37:55 2026 +0200
chore: suppress inherited testSamplingWithPropertyPlaceholder in Spring XML
test
Override the parent's @Test method without @Test to prevent JUnit from
discovering it. The Spring XML context has no sample-placeholder route
and the parent Java DSL test already covers the CAMEL-23279 fix.
Matches the existing pattern in this class where overrides intentionally
drop @Test to control which inherited tests run.
---
.../apache/camel/spring/processor/SpringSamplingThrottlerTest.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
index 1f3cc6f3e2ba..2489034351be 100644
---
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
+++
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
@@ -47,6 +47,11 @@ public class SpringSamplingThrottlerTest extends
SamplingThrottlerTest {
super.testSendLotsOfMessagesSimultaneouslyButOnly3GetThrough();
}
+ @Override
+ public void testSamplingWithPropertyPlaceholder() throws Exception {
+ super.testSamplingWithPropertyPlaceholder();
+ }
+
@Override
public void testSamplingUsingMessageFrequency() throws Exception {
super.testSamplingUsingMessageFrequency();