mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Add jdbc connection autocommit=false property to mock configuration for integration tests. (#338)
'autocommit=false' is set now in NodeConfiguration (0c017fdfec
). Add the setting ('autocommit=false') to mock services used in integration tests.
This commit is contained in:
parent
d6235cb937
commit
671f221451
@ -93,6 +93,7 @@ open class MockServices private constructor(
|
||||
props.setProperty("dataSource.url", config.getString("dataSourceProperties.dataSource.url"))
|
||||
props.setProperty("dataSource.user", config.getString("dataSourceProperties.dataSource.user"))
|
||||
props.setProperty("dataSource.password", config.getString("dataSourceProperties.dataSource.password"))
|
||||
props["autoCommit"] = false
|
||||
return props
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user