Skip to content

Commit 0f21e24

Browse files
committed
tests: do not not ignore tests in mongo that pass
1 parent 4ab0ba0 commit 0f21e24

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

grails-datastore-gorm-tck/src/main/groovy/grails/gorm/tck/BuiltinUniqueConstraintWorksWithTargetProxiesConstraintsSpec.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.grails.datastore.mapping.proxy.ProxyHandler
55
import spock.lang.PendingFeatureIf
66

77
class BuiltinUniqueConstraintWorksWithTargetProxiesConstraintsSpec extends GormDatastoreSpec {
8-
@PendingFeatureIf({ !Boolean.getBoolean("hibernate5.gorm.suite") && !Boolean.getBoolean("hibernate6.gorm.suite")})
8+
@PendingFeatureIf({ !Boolean.getBoolean("hibernate5.gorm.suite") && !Boolean.getBoolean("hibernate6.gorm.suite") && !Boolean.getBoolean("mongodb.gorm.suite")})
99
void "test unique constraint on root instance"() {
1010

1111
setup:
@@ -26,7 +26,7 @@ class BuiltinUniqueConstraintWorksWithTargetProxiesConstraintsSpec extends GormD
2626
ContactDetails.deleteAll(contactDetails1)
2727
}
2828

29-
@PendingFeatureIf({ !Boolean.getBoolean("hibernate5.gorm.suite") && !Boolean.getBoolean("hibernate6.gorm.suite")})
29+
@PendingFeatureIf({ !Boolean.getBoolean("hibernate5.gorm.suite") && !Boolean.getBoolean("hibernate6.gorm.suite") && !Boolean.getBoolean("mongodb.gorm.suite")})
3030
void "test unique constraint for the associated child object"() {
3131

3232
setup:

grails-datastore-gorm-tck/src/main/groovy/grails/gorm/tck/DirtyCheckingAfterListenerSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DirtyCheckingAfterListenerSpec extends GormDatastoreSpec {
3535
}
3636
}
3737

38-
@PendingFeatureIf({ !Boolean.getBoolean("hibernate5.gorm.suite") && !Boolean.getBoolean("hibernate6.gorm.suite")})
38+
@PendingFeatureIf({ !Boolean.getBoolean("hibernate5.gorm.suite") && !Boolean.getBoolean("hibernate6.gorm.suite") && !Boolean.getBoolean("mongodb.gorm.suite") })
3939
void "test state change from listener update the object"() {
4040

4141
when:

grails-datastore-gorm-tck/src/main/groovy/grails/gorm/tck/DirtyCheckingSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class DirtyCheckingSpec extends GormDatastoreSpec {
152152
TestAuthor.deleteAll()
153153
}
154154

155-
@PendingFeature // because one-to-one association loads eagerly in the Hibernate
155+
@IgnoreIf({ !Boolean.getBoolean("mongodb.gorm.suite")})
156156
void "test initialized proxy is not marked as dirty"() {
157157

158158
given:

0 commit comments

Comments
 (0)