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

fmariani 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 65fcdf466de9 Disable Iggy tests on CI
65fcdf466de9 is described below

commit 65fcdf466de9de7bc0406c090003b862a132944f
Author: Croway <[email protected]>
AuthorDate: Tue Dec 16 13:17:45 2025 +0100

    Disable Iggy tests on CI
---
 .../test/java/org/apache/camel/component/iggy/IggyComponentIT.java  | 3 +++
 .../test/java/org/apache/camel/component/iggy/IggyConsumerIT.java   | 3 +++
 .../java/org/apache/camel/component/iggy/IggyConsumerOffsetIT.java  | 3 +++
 .../test/java/org/apache/camel/component/iggy/IggyProducerIT.java   | 3 +++
 .../src/test/java/org/apache/camel/component/iggy/IggyTestBase.java | 5 -----
 .../org/apache/camel/test/infra/iggy/services/IggyContainer.java    | 6 +++++-
 6 files changed, 17 insertions(+), 6 deletions(-)

diff --git 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyComponentIT.java
 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyComponentIT.java
index 71d40ddc5e23..873aa63e85b4 100644
--- 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyComponentIT.java
+++ 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyComponentIT.java
@@ -20,7 +20,10 @@ import org.apache.camel.RoutesBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Iggy 0.6.0+ requires io_uring 
which is not available on CI environments")
 public class IggyComponentIT extends IggyTestBase {
 
     @Test
diff --git 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerIT.java
 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerIT.java
index 334aec6a4b72..b48cd6836d1d 100644
--- 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerIT.java
+++ 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerIT.java
@@ -23,7 +23,10 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Iggy 0.6.0+ requires io_uring 
which is not available on CI environments")
 public class IggyConsumerIT extends IggyTestBase {
 
     @Test
diff --git 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerOffsetIT.java
 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerOffsetIT.java
index c106c1237fb7..69838091a72a 100644
--- 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerOffsetIT.java
+++ 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyConsumerOffsetIT.java
@@ -20,7 +20,10 @@ import org.apache.camel.RoutesBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Iggy 0.6.0+ requires io_uring 
which is not available on CI environments")
 public class IggyConsumerOffsetIT extends IggyTestBase {
 
     int startingOffset = 5;
diff --git 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyProducerIT.java
 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyProducerIT.java
index 02943d2c80b2..30b8271b4c8d 100644
--- 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyProducerIT.java
+++ 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyProducerIT.java
@@ -25,7 +25,10 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.iggy.message.Message;
 import org.assertj.core.api.Assertions;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Iggy 0.6.0+ requires io_uring 
which is not available on CI environments")
 public class IggyProducerIT extends IggyTestBase {
 
     @Test
diff --git 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyTestBase.java
 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyTestBase.java
index 95e71c7ef1c2..29078243f830 100644
--- 
a/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyTestBase.java
+++ 
b/components/camel-iggy/src/test/java/org/apache/camel/component/iggy/IggyTestBase.java
@@ -39,13 +39,8 @@ import org.apache.iggy.message.Partitioning;
 import org.apache.iggy.message.PollingStrategy;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
-import static java.util.Optional.empty;
-
-@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
-                          disabledReason = "Iggy 0.6.0+ requires io_uring 
which is not available on CI environments")
 public abstract class IggyTestBase {
 
     @Order(1)
diff --git 
a/test-infra/camel-test-infra-iggy/src/main/java/org/apache/camel/test/infra/iggy/services/IggyContainer.java
 
b/test-infra/camel-test-infra-iggy/src/main/java/org/apache/camel/test/infra/iggy/services/IggyContainer.java
index cfae2e9ab4c1..39c201716210 100644
--- 
a/test-infra/camel-test-infra-iggy/src/main/java/org/apache/camel/test/infra/iggy/services/IggyContainer.java
+++ 
b/test-infra/camel-test-infra-iggy/src/main/java/org/apache/camel/test/infra/iggy/services/IggyContainer.java
@@ -17,6 +17,9 @@
 
 package org.apache.camel.test.infra.iggy.services;
 
+import java.util.List;
+
+import com.github.dockerjava.api.model.Ulimit;
 import org.apache.camel.test.infra.iggy.common.IggyProperties;
 import org.testcontainers.containers.GenericContainer;
 import org.testcontainers.containers.wait.strategy.Wait;
@@ -44,7 +47,8 @@ public class IggyContainer extends 
GenericContainer<IggyContainer> {
                 withCreateContainerCmdModifier(cmd -> {
                     cmd.getHostConfig()
                             
.withCapAdd(com.github.dockerjava.api.model.Capability.SYS_NICE)
-                            
.withSecurityOpts(java.util.List.of("seccomp:unconfined"));
+                            
.withSecurityOpts(java.util.List.of("seccomp:unconfined"))
+                            .withUlimits(List.of(new Ulimit("memlock", -1, 
-1)));
                 });
 
                 if (fixedPort) {

Reply via email to