Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix failing tests after BE1PC change (GRAILS-11104)

- disable BE1PC for additional datasources in this test
- use previous autocommit behaviour for this test since that is the behaviour the test is expecting
  • Loading branch information...
commit 7fc0a3260c499c0c74c7130d3a982065cb58dea5 1 parent 6b12298
@lhotari lhotari authored
View
3  test/unit/org/codehaus/groovy/grails/orm/hibernate/MultipleDataSourceTests.groovy
@@ -178,6 +178,7 @@ dataSource {
dataSource_ds2 {
pooled = true
+ transactional = false // Disable BE1PC transactions
driverClassName = 'org.h2.Driver'
url = 'jdbc:h2:mem:testDb2'
username = 'sa'
@@ -188,6 +189,7 @@ dataSource_ds2 {
dataSource_ds3 {
pooled = true
+ transactional = false
driverClassName = 'org.h2.Driver'
url = 'jdbc:h2:mem:testDb3'
username = 'sa'
@@ -198,6 +200,7 @@ dataSource_ds3 {
dataSource_ds4 {
pooled = true
+ transactional = false
driverClassName = 'org.h2.Driver'
url = 'jdbc:h2:mem:testDb4'
username = 'sa'

0 comments on commit 7fc0a32

Please sign in to comment.
Something went wrong with that request. Please try again.