From 624ddbb0f15a50f69ff1fb52a7252f80fc65fdb1 Mon Sep 17 00:00:00 2001 From: Luca Di Grazia Date: Sun, 4 Sep 2022 10:17:38 +0200 Subject: [PATCH] Disable Bouncycastle JSSE native test Issue tracked in https://github.com/quarkusio/quarkus/issues/17046 --- .../io/quarkus/it/bouncycastle/BouncyCastleJsseITCase.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/bouncycastle-jsse/src/test/java/io/quarkus/it/bouncycastle/BouncyCastleJsseITCase.java b/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/bouncycastle-jsse/src/test/java/io/quarkus/it/bouncycastle/BouncyCastleJsseITCase.java index 3a685627d66..dd0942d42c6 100644 --- a/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/bouncycastle-jsse/src/test/java/io/quarkus/it/bouncycastle/BouncyCastleJsseITCase.java +++ b/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/bouncycastle-jsse/src/test/java/io/quarkus/it/bouncycastle/BouncyCastleJsseITCase.java @@ -2,18 +2,15 @@ import org.junit.jupiter.api.Test; -import io.quarkus.runtime.util.JavaVersionUtil; +import io.quarkus.test.junit.DisabledOnNativeImage; import io.quarkus.test.junit.NativeImageTest; @NativeImageTest public class BouncyCastleJsseITCase extends BouncyCastleJsseTestCase { @Test + @DisabledOnNativeImage @Override public void testListProviders() { - if (!JavaVersionUtil.isJava11OrHigher()) { - LOG.trace("Skipping BouncyCastleJsseITCase, Java version is older than 11"); - return; - } doTestListProviders(); checkLog(true); }