You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2026/04/17 11:00:01 UTC

(grails-spring-security) 04/06: build: always enable Geb `atCheckWaiting`

This is an automated email from the ASF dual-hosted git repository.

matrei pushed a commit to branch grails8-sb4
in repository https://gitbox.apache.org/repos/asf/grails-spring-security.git

commit 63d329cbc59303ebe1a2fdd3d61323b7728bffc7
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Fri Apr 17 12:52:16 2026 +0200

    build: always enable Geb `atCheckWaiting`
---
 .github/workflows/gradle.yml | 2 --
 gradle/test-config.gradle    | 7 +++----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index b2938d3b8..cd6eea16a 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -53,7 +53,6 @@ jobs:
           --max-workers=2
           --refresh-dependencies
           --continue
-          -PgebAtCheckWaiting
   functionalTests:
     if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
     runs-on: ubuntu-24.04
@@ -78,7 +77,6 @@ jobs:
           ./gradlew
           core-examples-functional-test-app:check
           -DTESTCONFIG=${{ matrix.test-config }}
-          -PgebAtCheckWaiting
   publish:
     needs: [ coreTests, functionalTests ]
     if: ${{ always() && github.repository_owner == 'apache' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (needs.coreTests.result == 'success' || needs.coreTests.result == 'skipped') && (needs.functionalTests.result == 'success' || needs.functionalTests.result == 'skipped') }}
diff --git a/gradle/test-config.gradle b/gradle/test-config.gradle
index 47067d7b4..5e156c604 100644
--- a/gradle/test-config.gradle
+++ b/gradle/test-config.gradle
@@ -48,10 +48,9 @@ tasks.named('integrationTest', Test) {
     // systemProperty('grails.geb.recording.mode', 'RECORD_ALL')
     systemProperty('TESTCONFIG', System.getProperty('TESTCONFIG'))
 
-    // Make Geb tests more resilient in slow CI environments
-    if (project.hasProperty('gebAtCheckWaiting')) {
-        systemProperty('grails.geb.atCheckWaiting.enabled', 'true')
-    }
+    // Enable atCheckWaiting for Geb tests
+    systemProperty('grails.geb.atCheckWaiting.enabled', true)
+    systemProperty('grails.geb.timeouts.timeout', 10)
 
     doFirst {
         logger.quiet(