This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 3.20.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 73f38c4f242f98e175cecb095064484cbfe9ab33 Author: JiriOndrusek <[email protected]> AuthorDate: Tue Apr 29 16:13:22 2025 +0200 Fixes #7211 Enable ssh eddsa test for RHEL --- integration-tests/ssh/README.adoc | 12 ++++++++++++ .../org/apache/camel/quarkus/component/ssh/it/SshTest.java | 2 -- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/integration-tests/ssh/README.adoc b/integration-tests/ssh/README.adoc new file mode 100644 index 0000000000..7479dc32f9 --- /dev/null +++ b/integration-tests/ssh/README.adoc @@ -0,0 +1,12 @@ +== Ssh integration tests + +=== Testing on RHEL8 + +Native image (based on UBI9 by default) requires `GLIBC 2.33`, which is not present on RHEL8. +Please use native image based on `ubi8` for the native build in RHEL8. (For example `ubi-quarkus-mandrel-builder-image:jdk-21`) + +Example (via property in cmd): +[source,shell] +---- +mvn clean verify -Pntive -Ddocker -f integration-tests/ssh -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21 +---- \ No newline at end of file diff --git a/integration-tests/ssh/src/test/java/org/apache/camel/quarkus/component/ssh/it/SshTest.java b/integration-tests/ssh/src/test/java/org/apache/camel/quarkus/component/ssh/it/SshTest.java index 2789a15c7d..30da31ee8d 100644 --- a/integration-tests/ssh/src/test/java/org/apache/camel/quarkus/component/ssh/it/SshTest.java +++ b/integration-tests/ssh/src/test/java/org/apache/camel/quarkus/component/ssh/it/SshTest.java @@ -26,7 +26,6 @@ import io.smallrye.certs.Format; import io.smallrye.certs.junit5.Certificate; import org.apache.camel.component.ssh.SshConstants; import org.apache.camel.quarkus.test.DisabledIfFipsMode; -import org.apache.camel.quarkus.test.DisabledOnRhel; import org.apache.camel.quarkus.test.support.certificate.TestCertificates; import org.hamcrest.Matchers; import org.junit.jupiter.api.Test; @@ -116,7 +115,6 @@ class SshTest { } @DisabledIfFipsMode //ED25519 keys are not allowed in FIPS mode - @DisabledOnRhel(since = 8) //DSA is deprecated on RHEL8+, see https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/8.4_release_notes/deprecated_functionality#deprecated-functionality_security @Test public void testProducerWithEdDSAKeyType() { RestAssured.given()
