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

davsclaus pushed a commit to branch camel-spring-boot-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-4.14.x by 
this push:
     new 6a6ef4824bf CAMEL-22400 Adjust ZipFileSplitIteratorCorruptTest to 
camel ZipIterator change (#1534)
6a6ef4824bf is described below

commit 6a6ef4824bf75c6b680da18c8a7239f8b506ce38
Author: Tom Cunningham <[email protected]>
AuthorDate: Fri Oct 10 03:35:23 2025 -0400

    CAMEL-22400 Adjust ZipFileSplitIteratorCorruptTest to camel ZipIterator 
change (#1534)
---
 .../zipfile/springboot/ZipFileSplitIteratorCorruptTest.java           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components-starter/camel-zipfile-starter/src/test/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileSplitIteratorCorruptTest.java
 
b/components-starter/camel-zipfile-starter/src/test/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileSplitIteratorCorruptTest.java
index 6ba5276a28f..23c799c6daf 100644
--- 
a/components-starter/camel-zipfile-starter/src/test/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileSplitIteratorCorruptTest.java
+++ 
b/components-starter/camel-zipfile-starter/src/test/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileSplitIteratorCorruptTest.java
@@ -22,6 +22,7 @@ import org.apache.camel.EndpointInject;
 import org.apache.camel.Exchange;
 import org.apache.camel.ProducerTemplate;
 import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.dataformat.zipfile.ZipFileDataFormat;
 import org.apache.camel.spring.boot.CamelAutoConfiguration;
@@ -53,10 +54,9 @@ public class ZipFileSplitIteratorCorruptTest {
     @Test
     public void testZipFileUnmarshal() throws Exception {
         mockDead.expectedMessageCount(1);
-        
mockDead.message(0).exchangeProperty(Exchange.EXCEPTION_CAUGHT).isInstanceOf(IllegalStateException.class);
+        
mockDead.message(0).exchangeProperty(Exchange.EXCEPTION_CAUGHT).isInstanceOf(RuntimeCamelException.class);
         mockEnd.expectedMessageCount(0);
 
-        mockDead.assertIsSatisfied();
         mockEnd.assertIsSatisfied();
 
     }

Reply via email to