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 900666358c42db600160965c8ab97de0d5894487
Author: James Daugherty <[email protected]>
AuthorDate: Sun Apr 20 17:31:07 2025 -0400

    Attempt to resolve randomly failing test
---
 .../org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy      | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy
 
b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy
index 9abb470b98..bfe7951dd4 100644
--- 
a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy
+++ 
b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy
@@ -1,12 +1,14 @@
 package org.grails.datastore.gorm
 
 import grails.gorm.annotation.AutoTimestamp
-import org.grails.datastore.gorm.events.AutoTimestampEventListener
-
-import static grails.gorm.annotation.AutoTimestamp.EventType.*;
 import grails.gorm.tests.GormDatastoreSpec
 import grails.persistence.Entity
+import org.grails.datastore.gorm.events.AutoTimestampEventListener
+import spock.lang.Isolated
+
+import static grails.gorm.annotation.AutoTimestamp.EventType.CREATED
 
+@Isolated
 class CustomAutoTimestampSpec extends GormDatastoreSpec {
 
     void "Test when the auto timestamp properties are customized, they are 
correctly set"() {

Reply via email to