We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b690a79 commit 1c2f93aCopy full SHA for 1c2f93a
buildSrc/src/main/kotlin/dd-trace-java.configure-tests.gradle.kts
@@ -42,6 +42,10 @@ tasks.withType<Test>().configureEach {
42
!rootProject.providers.gradleProperty("rerun.tests.${project.name}").isPresent
43
}
44
45
+ // Trick to avoid on CI: "Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock."
46
+ // Use a task-specific user prefs directory
47
+ systemProperty("java.util.prefs.userRoot", "$buildDir/tmp/userPrefs/${name}")
48
+
49
// Split up tests that want to run forked in their own separate JVM for generated tasks
50
if (name.startsWith("forkedTest") || name.endsWith("ForkedTest")) {
51
setExcludes(emptyList())
0 commit comments