Skip to content

Commit 7b02a5f

Browse files
committed
ci: feedback - set atCheckWaiting in build file
1 parent 933057b commit 7b02a5f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ jobs:
173173
with:
174174
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
175175
- name: "🏃 Run Functional Tests"
176-
env:
177-
# Make Geb tests more resilient in slow CI environments
178-
JAVA_TOOL_OPTIONS: -Dgrails.geb.atCheckWaiting.enabled=true
179176
run: >
180177
./gradlew bootJar check
181178
--continue

gradle/functional-test-config.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@ tasks.withType(Test).configureEach { Test task ->
113113
if (System.getProperty('debug.tests')) {
114114
task.jvmArgs += debugArguments
115115
}
116+
117+
// Make Geb tests more resilient in slow CI environments
118+
systemProperty(
119+
'grails.geb.atCheckWaiting.enabled',
120+
System.getProperty(
121+
'grails.geb.atCheckWaiting.enabled',
122+
System.getenv('CI')
123+
)
124+
)
116125
}
117126

118127
tasks.named('groovydoc').configure {

0 commit comments

Comments
 (0)