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

gansheer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit d035b8a2a761fe9993232328fe1a15d2eb69df22
Author: Gaelle Fournier <[email protected]>
AuthorDate: Thu May 7 14:28:47 2026 +0200

    fix: disable sftp failing FIPS tests
---
 .../apache/camel/quarkus/component/sftp/it/SftpHostCertTest.java    | 3 +++
 .../java/org/apache/camel/quarkus/component/sftp/it/SftpTest.java   | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git 
a/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpHostCertTest.java
 
b/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpHostCertTest.java
index d60935976f..45745414f1 100644
--- 
a/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpHostCertTest.java
+++ 
b/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpHostCertTest.java
@@ -22,6 +22,7 @@ import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
 import io.smallrye.certs.Format;
 import io.smallrye.certs.junit5.Certificate;
+import org.apache.camel.quarkus.test.DisabledIfFipsMode;
 import org.apache.camel.quarkus.test.support.certificate.TestCertificates;
 import org.apache.camel.quarkus.test.support.sftp.SftpHostCertTestResource;
 import org.junit.jupiter.api.Test;
@@ -38,6 +39,7 @@ import static org.hamcrest.CoreMatchers.is;
 class SftpHostCertTest {
 
     @Test
+    @DisabledIfFipsMode
     public void testHostCertificateVerification() {
         RestAssured.given()
                 .contentType(ContentType.TEXT)
@@ -57,6 +59,7 @@ class SftpHostCertTest {
     }
 
     @Test
+    @DisabledIfFipsMode
     public void testHostCertificateVerificationWithCaSignatureAlgorithms() {
         // Test host certificate verification with specific CA signature 
algorithms
         RestAssured.given()
diff --git 
a/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpTest.java
 
b/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpTest.java
index 5795f21bcc..9d6186e9f7 100644
--- 
a/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpTest.java
+++ 
b/integration-tests/ftp/src/test/java/org/apache/camel/quarkus/component/sftp/it/SftpTest.java
@@ -22,6 +22,7 @@ import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
 import io.smallrye.certs.Format;
 import io.smallrye.certs.junit5.Certificate;
+import org.apache.camel.quarkus.test.DisabledIfFipsMode;
 import org.apache.camel.quarkus.test.support.certificate.TestCertificates;
 import org.apache.camel.quarkus.test.support.sftp.SftpTestResource;
 import org.junit.jupiter.api.Test;
@@ -38,6 +39,7 @@ import static org.hamcrest.CoreMatchers.is;
 class SftpTest {
 
     @Test
+    @DisabledIfFipsMode
     public void testSftpComponent() {
         // Create a new file on the SFTP server
         RestAssured.given()
@@ -81,6 +83,7 @@ class SftpTest {
     }
 
     @Test
+    @DisabledIfFipsMode
     void testCertificateAuthentication() {
         RestAssured.given()
                 .contentType(ContentType.TEXT)
@@ -100,6 +103,7 @@ class SftpTest {
     }
 
     @Test
+    @DisabledIfFipsMode
     void testCertificateAuthenticationWithFile() {
         RestAssured.given()
                 .contentType(ContentType.TEXT)
@@ -119,6 +123,7 @@ class SftpTest {
     }
 
     @Test
+    @DisabledIfFipsMode
     void testCertificateAuthenticationWithBytes() {
         RestAssured.given()
                 .contentType(ContentType.TEXT)
@@ -138,6 +143,7 @@ class SftpTest {
     }
 
     @Test
+    @DisabledIfFipsMode
     void testCertificateAuthenticationWithCaSignatureAlgorithms() {
         RestAssured.given()
                 .contentType(ContentType.TEXT)

Reply via email to