mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Fix flaky db test
This commit is contained in:
@ -50,7 +50,7 @@ trait DatabaseTest
|
|||||||
|
|
||||||
lazy val h2DataSource = ResourceSuiteLocalFixture(
|
lazy val h2DataSource = ResourceSuiteLocalFixture(
|
||||||
"h2DataSource", {
|
"h2DataSource", {
|
||||||
val jdbc = StoreFixture.memoryDB("test")
|
val jdbc = StoreFixture.memoryDB(UUID.randomUUID().toString)
|
||||||
StoreFixture.dataSource(jdbc).map(ds => (jdbc, ds))
|
StoreFixture.dataSource(jdbc).map(ds => (jdbc, ds))
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user