Skip to content

Commit 3f85fb4

Browse files
committed
Set locale explicitly to get reliable log output to check against
1 parent 31f1a12 commit 3f85fb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/StandaloneTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ void executeOnJava17(@FilePrefix("console-launcher") OutputFiles outputFiles) th
430430
.addArguments("-enableassertions") //
431431
.addArguments("-Djava.util.logging.config.file=logging.properties") //
432432
.addArguments("-Djunit.platform.launcher.interceptors.enabled=true") //
433+
.addArguments("-Duser.language=en", "-Duser.country=US") //
433434
.addArguments("-jar", MavenRepo.jar("junit-platform-console-standalone").toString()) //
434435
.addArguments("execute") //
435436
.addArguments("--scan-class-path") //
@@ -463,6 +464,7 @@ void executeOnJava17SelectPackage(@FilePrefix("console-launcher") OutputFiles ou
463464
.addArguments("-enableassertions") //
464465
.addArguments("-Djava.util.logging.config.file=logging.properties") //
465466
.addArguments("-Djunit.platform.launcher.interceptors.enabled=true") //
467+
.addArguments("-Duser.language=en", "-Duser.country=US") //
466468
.addArguments("-jar", MavenRepo.jar("junit-platform-console-standalone").toString()) //
467469
.addArguments("execute") //
468470
.addArguments("--select-package", Projects.STANDALONE) //

0 commit comments

Comments
 (0)