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

   ## 🚨 TestLens detected 1 failed test 🚨
   
   ### Test Summary
   > [!TIP]
   > Inspect all details with the [TestLens 
CLI](https://testlens.app/docs/features/cli): `testlens pr 16763`
   
   #### [Groovy Snapshot Canary Build / Build Grails \(shard 
2\)](https://github.com/apache/grails-core/actions/runs/41157602385/job/124408216877?pr=16763)
 > :grails-data-hibernate7-core:test
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | Hibernate7RefreshLockSpec > refresh\(lock: true\) uses the named 
connection rather than the default database | ❌ | 0% 🟢 |
   
   🏷️ Commit: 67880b478c06fe72b526db063706cc19e38e54f7
   ▶️ Tests:  27550 executed
   🟡 Checks: 37/90 completed
   
   ### Test Failures
   
   <details><summary><strong>Hibernate7RefreshLockSpec > refresh(lock: true) 
uses the named connection rather than the default database</strong> 
(:grails-data-hibernate7-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/41157602385/job/124408216877?pr=16763";>Groovy
 Snapshot Canary Build / Build Grails (shard 2)</a>)</summary>
   
   ```
   Condition not satisfied:
   
   session.transaction.isActive()
   |       |           |
   |       |           false
   |       <org.hibernate.engine.transaction.internal.TransactionImpl@35ca3810 
transactionCoordinator=inaccessible jpaCompliance=inaccessible 
session=inaccessible transactionDriverControl=inaccessible>
   SessionImpl(14008208<open>)
   
        at 
grails.gorm.tests.Hibernate7RefreshLockSpec.$spock_feature_2_18_closure43$_closure142(Hibernate7RefreshLockSpec.groovy:655)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:139)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.doExecute(GrailsTransactionTemplate.groovy:136)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute_closure2(GrailsTransactionTemplate.groovy:131)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.inConnectionScope(GrailsTransactionTemplate.groovy:96)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:131)
        at 
org.grails.datastore.gorm.GormStaticApi.withTransaction_closure24(GormStaticApi.groovy:1003)
        at 
org.grails.datastore.gorm.GormStaticApi.withTransaction_closure24(GormStaticApi.groovy)
        at 
org.grails.datastore.gorm.GormRegistry.runInScope(GormRegistry.groovy:547)
        at 
org.grails.datastore.gorm.GormRegistry.withConnectionScope(GormRegistry.groovy:518)
        at 
org.grails.datastore.gorm.GormStaticApi.inConnectionScope(GormStaticApi.groovy:977)
        at 
org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:1002)
        at grails.gorm.tests.Hibernate7RefreshLockSpec.refresh(lock: true) uses 
the named connection rather than the default 
database_closure43(Hibernate7RefreshLockSpec.groovy:654)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.doExecute(GrailsHibernateTemplate.java:369)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:308)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithNewSession(GrailsHibernateTemplate.java:242)
        at 
org.grails.orm.hibernate.HibernateDatastore.withNewSession(HibernateDatastore.java:1052)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.withNewSession_closure1(HibernateGormStaticApi.groovy:165)
        at 
org.grails.datastore.gorm.GormRegistry.runInScope(GormRegistry.groovy:547)
        at 
org.grails.datastore.gorm.GormRegistry.withConnectionScope(GormRegistry.groovy:518)
        at 
org.grails.datastore.gorm.GormStaticApi.inConnectionScope(GormStaticApi.groovy:977)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.withNewSession(HibernateGormStaticApi.groovy:159)
        at grails.gorm.tests.Hibernate7RefreshLockSpec.refresh(lock: true) uses 
the named connection rather than the default 
database(Hibernate7RefreshLockSpec.groovy:653)
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 Hibernate7RefreshLockSpec > refresh\(lock: true\) uses the named 
connection rather than the default database <!-- 
uniqueId=[engine:spock]/[spec:grails.gorm.tests.Hibernate7RefreshLockSpec]/[feature:$spock_feature_2_18]
 -->
   
   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/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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