From b36b99c59362c4d7dfe112144991d3f53318b3f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Tue, 19 May 2026 15:23:58 +0200 Subject: [PATCH] CAMEL-23499 - Disable again several FileToFtps* tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several FTP tests were re-enabled recently with https://github.com/apache/camel/pull/23078 but unfortunately several are broken. They always fail on CI or when launching from Maven locally (at least for me) Also note that some of them are disabled in case the JVM does not support specific algorithm, which means that they are not raising an error in this case. Signed-off-by: Aurélien Pupier --- ...oFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java | 2 ++ ...icitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java | 2 ++ .../integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java | 2 ++ .../integration/FileToFtpsImplicitSSLWithClientAuthIT.java | 2 ++ ...psImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java | 2 ++ .../FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java | 2 ++ .../integration/FileToFtpsWithCustomTrustStorePropertiesIT.java | 2 ++ .../remote/integration/FileToFtpsWithFtpClientConfigRefIT.java | 2 ++ 8 files changed, 16 insertions(+) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java index 6cde39a379a4c..499fff09d7587 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java @@ -21,9 +21,11 @@ import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.TestInstance; @TestInstance(TestInstance.Lifecycle.PER_CLASS) +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT extends FileToFtpsExplicitSSLWithClientAuthIT { @BindToRegistry("sslContextParameters") diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java index 7549c4145f50d..61c4776e5ba61 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java @@ -21,7 +21,9 @@ import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; +import org.junit.jupiter.api.Disabled; +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT extends FileToFtpsExplicitSSLWithoutClientAuthIT { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java index 739a7f2e9400f..9b50a06e540ef 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java @@ -18,6 +18,7 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledIf; @@ -25,6 +26,7 @@ * Test the ftps component over SSL (explicit) without client authentication */ @EnabledIf(value = "org.apache.camel.test.infra.ftp.services.embedded.FtpsUtil#hasRequiredAlgorithms") +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsExplicitSSLWithoutClientAuthIT extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java index c5b6805fb2c29..72a92002e9a0a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java @@ -18,6 +18,7 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledIf; @@ -25,6 +26,7 @@ * Test the ftps component over SSL (implicit) with client authentication */ @EnabledIf(value = "org.apache.camel.test.infra.ftp.services.embedded.FtpsUtil#hasRequiredAlgorithms") +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsImplicitSSLWithClientAuthIT extends FtpsServerImplicitSSLWithClientAuthTestSupport { protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java index 3baf95039de3c..22c9ad8656e8f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java @@ -20,7 +20,9 @@ import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; +import org.junit.jupiter.api.Disabled; +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT extends FileToFtpsImplicitSSLWithoutClientAuthIT { @BindToRegistry("sslContextParameters") diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java index d89525f15021e..cdd3741e90d53 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java @@ -18,6 +18,7 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledIf; @@ -25,6 +26,7 @@ * Test the ftps component over SSL (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.test.infra.ftp.services.embedded.FtpsUtil#hasRequiredAlgorithms") +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsWithCustomKeyAndTrustStorePropertiesIT extends FtpsServerExplicitSSLWithClientAuthTestSupport { private String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java index a987a434dfb58..23c5ce8b52579 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java @@ -18,6 +18,7 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledIf; @@ -25,6 +26,7 @@ * Test the ftps component over SSL (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.test.infra.ftp.services.embedded.FtpsUtil#hasRequiredAlgorithms") +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsWithCustomTrustStorePropertiesIT extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { private String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java index 8f450ee9f064d..0607e60459a1d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java @@ -20,6 +20,7 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.commons.net.ftp.FTPSClient; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledIf; @@ -27,6 +28,7 @@ * Test the ftps component over SSL (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.test.infra.ftp.services.embedded.FtpsUtil#hasRequiredAlgorithms") +@Disabled("Test was flaky 4 years ago. It is now completely broken when launched with Maven. See CAMEL-23499") public class FileToFtpsWithFtpClientConfigRefIT extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { @BindToRegistry("ftpsClient")