Skip to content

Move test kit dirs out of temp directory #46479

@wilkinsona

Description

@wilkinsona

On our local machines, we see failures in the Gradle plugin's integration tests due to missing files or a directory that has been unexpectedly mutated. We don't see similar failures on CI.

Our theory is that these failures may be due configuring the GradleRunner to use a temporary directory for its test kit dir. When files are cleaned out of the temporary directory, depending on the time at which they were last accessed, this could leave things in a partially deleted state that causes Gradle to fail.

We're going to try moving the test kit dirs out of temp and to a ___location beneath /build instead. This will prevent them from being deleted automatically be the OS while still allowing them to be cleaned up relatively easily by running clean.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions