This is an automated email from the ASF dual-hosted git repository. matrei pushed a commit to branch geb-8 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 7b02a5fbd6c853cf7e82df1f2622c2d7107aec64 Author: Mattias Reichel <[email protected]> AuthorDate: Wed Sep 24 08:50:38 2025 +0200 ci: feedback - set `atCheckWaiting` in build file --- .github/workflows/gradle.yml | 3 --- gradle/functional-test-config.gradle | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 217794e0b0..1585dbd990 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -173,9 +173,6 @@ jobs: with: develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }} - name: "🏃 Run Functional Tests" - env: - # Make Geb tests more resilient in slow CI environments - JAVA_TOOL_OPTIONS: -Dgrails.geb.atCheckWaiting.enabled=true run: > ./gradlew bootJar check --continue diff --git a/gradle/functional-test-config.gradle b/gradle/functional-test-config.gradle index 2ec6226495..672459f6e0 100644 --- a/gradle/functional-test-config.gradle +++ b/gradle/functional-test-config.gradle @@ -113,6 +113,15 @@ tasks.withType(Test).configureEach { Test task -> if (System.getProperty('debug.tests')) { task.jvmArgs += debugArguments } + + // Make Geb tests more resilient in slow CI environments + systemProperty( + 'grails.geb.atCheckWaiting.enabled', + System.getProperty( + 'grails.geb.atCheckWaiting.enabled', + System.getenv('CI') + ) + ) } tasks.named('groovydoc').configure {
