From e34593136011b65964ea45fde7a121557a5e7821 Mon Sep 17 00:00:00 2001 From: Ruslan Ibrahimau Date: Sun, 19 Jul 2026 11:34:20 +0300 Subject: [PATCH] Give plugin functional-test polling a CI-sized timeout The continuous-reload functional test polls for Gradle TestKit continuous-build activity with a 30s ceiling. On loaded GitHub-hosted runners the first continuous build plus the 600ms quiet period regularly needs more than that, so the test times out in awaitCondition (KwasmPluginFunctionalTest.kt:627) while passing locally, failing CI runs 29676886384 and 29678913141 without any product change. Raise the polling default to 120s; the poll still returns as soon as the condition holds, so healthy runs are not slowed down. Co-Authored-By: Claude Fable 5 --- .../kotlin/io/heapy/kwasm/gradle/KwasmPluginFunctionalTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasm-gradle-plugin/src/test/kotlin/io/heapy/kwasm/gradle/KwasmPluginFunctionalTest.kt b/wasm-gradle-plugin/src/test/kotlin/io/heapy/kwasm/gradle/KwasmPluginFunctionalTest.kt index a139ee8..7cdd6ec 100644 --- a/wasm-gradle-plugin/src/test/kotlin/io/heapy/kwasm/gradle/KwasmPluginFunctionalTest.kt +++ b/wasm-gradle-plugin/src/test/kotlin/io/heapy/kwasm/gradle/KwasmPluginFunctionalTest.kt @@ -616,7 +616,7 @@ public class KwasmPluginFunctionalTest { private fun awaitCondition( description: String, - timeoutMillis: Long = 30_000L, + timeoutMillis: Long = 120_000L, condition: () -> Boolean, ) { val deadline = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMillis)