From aef4f3aff8a2ab78e1b70a28bc93cf65f251a3cd Mon Sep 17 00:00:00 2001 From: SMan Date: Mon, 10 Jan 2022 18:10:49 -0600 Subject: [PATCH] fix: fail has been added (for testing) #1595; --- .../test/java/io/jans/as/server/comp/CryptoProviderTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/test/java/io/jans/as/server/comp/CryptoProviderTest.java b/server/src/test/java/io/jans/as/server/comp/CryptoProviderTest.java index dd4f0b59e10..b40f66a74ef 100644 --- a/server/src/test/java/io/jans/as/server/comp/CryptoProviderTest.java +++ b/server/src/test/java/io/jans/as/server/comp/CryptoProviderTest.java @@ -455,6 +455,10 @@ public void testGenerateKeys(Algorithm algorithm) { fail(e.getMessage(), e); } System.out.println("----------------------"); + + if(algorithm == Algorithm.ES384 && i > (NUM_KEY_GENS - 10)) { + assertTrue(false); + } } } } \ No newline at end of file