From b41e2f82c4f8bcf9c0e35e15119ba6ad89c3ccba Mon Sep 17 00:00:00 2001 From: Steven Hawkins Date: Wed, 31 Jan 2024 04:19:14 -0500 Subject: [PATCH] fix: completely removing problematic assertion (#26613) closes: #26529 Signed-off-by: Steve Hawkins --- .../test/java/org/keycloak/it/cli/dist/FipsDistTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/FipsDistTest.java b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/FipsDistTest.java index 2faf8e184a..68c4d06cb2 100644 --- a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/FipsDistTest.java +++ b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/FipsDistTest.java @@ -78,7 +78,8 @@ public class FipsDistTest { dist.copyOrReplaceFileFromClasspath("/server.keystore", Path.of("conf", "server.keystore")); CLIResult cliResult = dist.run("start", "--fips-mode=strict"); dist.assertStopped(); - cliResult.assertMessage("ERROR: java.lang.IllegalArgumentException: malformed sequence"); + // after https://issues.redhat.com/browse/JBTM-3830 reenable this check + //cliResult.assertMessage("ERROR: java.lang.IllegalArgumentException: malformed sequence"); }); } @@ -126,7 +127,8 @@ public class FipsDistTest { dist.copyOrReplaceFileFromClasspath("/server.keystore.pkcs12", Path.of("conf", "server.keystore")); CLIResult cliResult = dist.run("start", "--fips-mode=strict", "--https-key-store-password=passwordpassword"); dist.assertStopped(); - cliResult.assertMessage("ERROR: java.lang.IllegalArgumentException: malformed sequence"); + // after https://issues.redhat.com/browse/JBTM-3830 reenable this check + //cliResult.assertMessage("ERROR: java.lang.IllegalArgumentException: malformed sequence"); }); }