Skip to content

Commit

Permalink
daemon timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Jan 18, 2025
1 parent 9bba1ff commit 6c5bf5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sweetspi-tests/src/test/kotlin/TestProject.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ class TestProject(
.withGradleVersion(versions.gradleVersion)
.withProjectDir(projectDirectory.toFile())
.forwardOutput()
.withArguments("--stacktrace", *arguments)
.withArguments(
"-Dorg.gradle.daemon.idletimeout=10000",
"-Pkotlin.daemon.options.autoshutdownIdleSeconds=10",

"--stacktrace",
*arguments
)

val result = when {
expectFailure -> runner.buildAndFail()
Expand Down

0 comments on commit 6c5bf5b

Please sign in to comment.