[PM-27088] fix unit test execution (#6048)

This commit is contained in:
Nailik 2025-10-22 22:27:59 +02:00 committed by GitHub
parent 47628a6da2
commit a8f8450ec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -302,7 +302,10 @@ tasks {
useJUnitPlatform() useJUnitPlatform()
maxHeapSize = "2g" maxHeapSize = "2g"
maxParallelForks = Runtime.getRuntime().availableProcessors() maxParallelForks = Runtime.getRuntime().availableProcessors()
jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC" + "-Duser.country=US" jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC" +
// Explicitly setting the user Country and Language because tests assume en-US
"-Duser.country=US" +
"-Duser.language=en"
} }
} }