[K/N] Allow tweaking executionTimeout of RunGTest

This commit is contained in:
Alexander Shabalin
2023-07-14 11:40:42 +02:00
committed by Space Team
parent 6d9b34ab46
commit ee736c90b0
2 changed files with 9 additions and 5 deletions
@@ -603,7 +603,10 @@ open class CompileToBitcodeExtension @Inject constructor(val project: Project) :
filter.set(project.findProperty("gtest_filter") as? String)
tsanSuppressionsFile.set(project.layout.projectDirectory.file("tsan_suppressions.txt"))
this.target.set(target)
this.executionTimeout.set(Duration.ofMinutes(30)) // The tests binaries are big.
this.executionTimeout.set(
(project.findProperty("gtest_timeout") as? String)?.let {
Duration.parse("PT${it}")
} ?: Duration.ofMinutes(30)) // The tests binaries are big.
usesService(runGTestSemaphore)
}