From c3d6856f5477005a5b5991b32f908d8ca7a30baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JB=20Onofr=C3=A9?= Date: Mon, 27 Jan 2025 15:28:53 +0100 Subject: [PATCH] Force the default locale to have intTest working even if the default locale is not en_US --- quarkus/service/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quarkus/service/build.gradle.kts b/quarkus/service/build.gradle.kts index 3378d3c2..93c1530e 100644 --- a/quarkus/service/build.gradle.kts +++ b/quarkus/service/build.gradle.kts @@ -165,6 +165,8 @@ tasks.named("intTest").configure { // Same issue as above: allow a java security manager after Java 21 // (this setting is for the application under test, while the setting above is for test code). systemProperty("quarkus.test.arg-line", "-Djava.security.manager=allow") + // force the locale, just in case the user is having another default locale + systemProperty("quarkus.default-locale", "en_US") val logsDir = project.layout.buildDirectory.get().asFile.resolve("logs") // delete files from previous runs doFirst {