testlens-app[bot] commented on PR #16152:
URL: https://github.com/apache/grails-core/pull/16152#issuecomment-5300783561

   ## 🚨 TestLens detected 1 failed test 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   #### [CI / Build Grails-Core \(macOS JDK 
21\)](https://github.com/apache/grails-core/actions/runs/31867274657/job/94970240414?pr=16152)
 > :grails-controllers:test
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | ControllersDomainBindingApiSpec > a map constructor binds the named 
arguments and autowires the instance when its mapping asks for it | ❌ | 
[27% 🔴](https://github.com/apache/grails-core/issues/16030) |
   
   🏷️ Commit: e456f0a60cf34d7cc6b834bcd44c369aa8f1d1b8
   ▶️ Tests:  4770 executed
   🟡 Checks: 17/71 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>ControllersDomainBindingApiSpec > a map constructor binds 
the named arguments and autowires the instance when its mapping asks for 
it</strong> (:grails-controllers:test in <a 
href="https://github.com/apache/grails-core/actions/runs/31867274657/job/94970240414?pr=16152";>CI
 / Build Grails-Core (macOS JDK 21)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: 
org.springframework.boot.web.context.servlet.AnnotationConfigServletWebApplicationContext@11c27ace
 has been closed already
        at 
org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1283)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1304)
        at 
org.grails.web.context.ServletEnvironmentGrailsApplicationDiscoveryStrategy.findGrailsApplication(ServletEnvironmentGrailsApplicationDiscoveryStrategy.groovy:54)
        at grails.util.Holders.findApplication(Holders.java:127)
        at 
org.grails.plugins.web.controllers.api.ControllersDomainBindingApi.findApplication(ControllersDomainBindingApi.java:78)
        at 
org.grails.plugins.web.controllers.api.ControllersDomainBindingApi.initialize(ControllersDomainBindingApi.java:61)
        at 
org.grails.plugins.web.controllers.api.ControllersDomainBindingApiSpec.a map 
constructor binds the named arguments and autowires the instance when its 
mapping asks for it(ControllersDomainBindingApiSpec.groovy:74)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 ControllersDomainBindingApiSpec > a map constructor binds the named 
arguments and autowires the instance when its mapping asks for it <!-- 
uniqueId=[engine:spock]/[spec:org.grails.plugins.web.controllers.api.ControllersDomainBindingApiSpec]/[feature:$spock_feature_0_0]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at [testlens.app](https://testlens.app)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to