mirror of
https://github.com/corda/corda.git
synced 2025-02-06 11:09:18 +00:00
Remove redundant transaction
This commit is contained in:
parent
5f7f809084
commit
3c1a8b3de1
@ -55,10 +55,7 @@ class AppendOnlyPersistentMapNonConcurrentTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `map prevents duplicates, when key has been evicted from cache, but present in database`() {
|
fun `map prevents duplicates, when key has been evicted from cache, but present in database`() {
|
||||||
val map = database.transaction {
|
val map = createMap(1)
|
||||||
createMap(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
database.transaction {
|
database.transaction {
|
||||||
map.addWithDuplicatesAllowed(1, "1")
|
map.addWithDuplicatesAllowed(1, "1")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user