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

   ## 🚨 TestLens detected 2 failed tests 🚨
   
   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
   
   | Check | Project/Task | Test | Runs |
   |---|---|---|---|
   | [CI / Build Grails-Core \(macos-latest, 
21\)](https://github.com/apache/grails-core/actions/runs/24008733822/job/70016696415?pr=15558)
 | :grails-datamapping-support:test | GormEntityTraitSpec > Test dynamic parse 
| ❌ |
   | [CI / Build Grails-Core \(macos-latest, 
21\)](https://github.com/apache/grails-core/actions/runs/24008733822/job/70016696415?pr=15558)
 | :grails-datamapping-support:test | GormEntityTraitSpec > test that generic 
return values are respected | ❌ |
   
   🏷️ Commit: 44634943564173bdf52086a62dd029c78b819aab
   ▶️ Tests:  4144 executed
   🟡 Checks: 8/32 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>GormEntityTraitSpec > Test dynamic parse</strong> 
(:grails-datamapping-support:test in <a 
href="https://github.com/apache/grails-core/actions/runs/24008733822/job/70016696415?pr=15558";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Either class [Book] is not a domain class 
or GORM has not been initialized correctly or has already been shutdown. Ensure 
GORM is loaded and configured correctly before calling any methods on a GORM 
entity.
        at 
org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:498)
        at 
org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:329)
        at 
org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:325)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormStaticApi(GormEntity.groovy:1487)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.get(GormEntity.groovy:598)
        at org.grails.datastore.gorm.GormEntityTraitSpec.Test dynamic 
parse(GormEntityTraitSpec.groovy:84)
   ```
   
   </details>
   <details>
   
   <summary><strong>GormEntityTraitSpec > test that generic return values are 
respected</strong> (:grails-datamapping-support:test in <a 
href="https://github.com/apache/grails-core/actions/runs/24008733822/job/70016696415?pr=15558";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Either class 
[org.grails.datastore.gorm.QueryMethodArtefactDomain] is not a domain class or 
GORM has not been initialized correctly or has already been shutdown. Ensure 
GORM is loaded and configured correctly before calling any methods on a GORM 
entity.
        at 
org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:498)
        at 
org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:329)
        at 
org.grails.datastore.gorm.GormEnhancer.findStaticApi(GormEnhancer.groovy:325)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormStaticApi(GormEntity.groovy:1487)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.get(GormEntity.groovy:598)
        at org.grails.datastore.gorm.GormEntityTraitSpec.test that generic 
return values are respected(GormEntityTraitSpec.groovy:151)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 GormEntityTraitSpec > Test dynamic parse <!-- 
uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormEntityTraitSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 GormEntityTraitSpec > test that generic return values are respected <!-- 
uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormEntityTraitSpec]/[feature:$spock_feature_0_4]
 -->
   
   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