Skip to content

Commit 360251e

Browse files
chore: log if there are errors deleting test fixtures.
1 parent 45d99a8 commit 360251e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/functionalTest/groovy/com/autonomousapps/AbstractFunctionalSpec.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ abstract class AbstractFunctionalSpec extends Specification {
4242
def cleanup() {
4343
// Delete fixtures on CI to prevent disk space growing out of bounds
4444
if (gradleProject != null && isCi) {
45+
def f = gradleProject.rootDir
4546
try {
47+
println("Deleting $f")
4648
gradleProject.rootDir.deleteDir()
4749
} catch (Throwable t) {
50+
System.err.println("Error deleting gradleProject $f: ${t.localizedMessage}")
51+
t.printStackTrace()
4852
}
4953
}
5054
}

0 commit comments

Comments
 (0)