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