This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5069ab9aaa3c215b48719649ab0210780f1edf2b Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Sun May 12 13:59:33 2024 +0200 (chores) camel-netty: avoid running on CI environments due to runtime requirements --- .../java/org/apache/camel/component/netty/NettyTCPSyncUDSTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyTCPSyncUDSTest.java b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyTCPSyncUDSTest.java index 6e9399cb1a9..8feae2411f5 100644 --- a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyTCPSyncUDSTest.java +++ b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyTCPSyncUDSTest.java @@ -20,6 +20,7 @@ import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import org.junit.jupiter.api.condition.EnabledOnOs; import org.junit.jupiter.api.condition.OS; @@ -31,6 +32,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals; */ @EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD }, architectures = { "amd64", "aarch_64" }) +// This is to avoid "bind(..) failed: File name too long" when running on CI. +@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*", + disabledReason = "Most CI environments use temporary build directories whose path is too long for the Netty native code leading to failure") public class NettyTCPSyncUDSTest extends BaseNettyTest { @Test