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

jdaugherty pushed a commit to branch grails-geb
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 76032091b5d76d91efd58fe7fad6e792b6490dc8
Author: James Daugherty <[email protected]>
AuthorDate: Tue Apr 22 10:13:54 2025 -0400

    set pull policy before start
---
 .../groovy/grails/plugin/geb/WebDriverContainerHolder.groovy            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grails-geb/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy
 
b/grails-geb/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy
index 30786e4d3d..b7ee437815 100644
--- 
a/grails-geb/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy
+++ 
b/grails-geb/src/testFixtures/groovy/grails/plugin/geb/WebDriverContainerHolder.groovy
@@ -109,8 +109,8 @@ class WebDriverContainerHolder {
         currentContainer.tap {
             withEnv('SE_ENABLE_TRACING', grailsGebSettings.tracingEnabled)
             withAccessToHost(true)
-            start()
             withImagePullPolicy(PullPolicy.ageBased(Duration.of(1, 
ChronoUnit.DAYS)))
+            start()
         }
         if (hostnameChanged) {
             currentContainer.execInContainer('/bin/sh', '-c', "echo 
'$hostIp\t${currentConfiguration.hostName}' | sudo tee -a /etc/hosts")

Reply via email to