From 96ca03dd2469325bfaedfbf152357cb2a39d47f8 Mon Sep 17 00:00:00 2001 From: Boris Rizov Date: Mon, 28 Aug 2023 13:23:17 +0200 Subject: [PATCH] fix: tests fail randomly because of KeyGenerator THe tests fail sometimes, because no explicit key length is given. The docs specify that there is no guarantee about the exact implementation on any given platform. Using a specific length is recommended. --- .../config/TestContextInitializer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/eclipse/tractusx/managedidentitywallets/config/TestContextInitializer.java b/src/test/java/org/eclipse/tractusx/managedidentitywallets/config/TestContextInitializer.java index d52327f02..52183a8ac 100644 --- a/src/test/java/org/eclipse/tractusx/managedidentitywallets/config/TestContextInitializer.java +++ b/src/test/java/org/eclipse/tractusx/managedidentitywallets/config/TestContextInitializer.java @@ -42,7 +42,10 @@ public class TestContextInitializer implements ApplicationContextInitializer