amend! Pass timeout from TC build script instead of hardcoding it
Remove explicit IT run timeout to simplify timeout management
^KT-76326
diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts
index 8a91c76..16da4ac 100644
--- a/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts
+++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts
@@ -382,10 +382,6 @@
val noTestProperty = project.providers.gradleProperty("noTest")
onlyIf { !noTestProperty.isPresent }
- // Trigger task timeout earlier than TC timeout, so we could collect more info what went wrong with IT tests
- // The longest one are on MacOS/X64 agents in release configurations
- timeout.set(Duration.ofHours(7))
-
/**
* Gradle needs these opens to serialize CC and adds them implicitly:
* - https://github.com/gradle/gradle/blob/2c7035c5fc5c18c044d2de45764f88ada143e4a7/platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/JpmsConfiguration.java#L41