From 4bca6031aff14cd2599d888fc25246c97296f185 Mon Sep 17 00:00:00 2001 From: eikek Date: Sat, 11 Jun 2022 01:02:22 +0200 Subject: [PATCH] Fix flaky db test --- modules/store/src/test/scala/docspell/store/DatabaseTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/store/src/test/scala/docspell/store/DatabaseTest.scala b/modules/store/src/test/scala/docspell/store/DatabaseTest.scala index dcd03557..e2e9363e 100644 --- a/modules/store/src/test/scala/docspell/store/DatabaseTest.scala +++ b/modules/store/src/test/scala/docspell/store/DatabaseTest.scala @@ -50,7 +50,7 @@ trait DatabaseTest lazy val h2DataSource = ResourceSuiteLocalFixture( "h2DataSource", { - val jdbc = StoreFixture.memoryDB("test") + val jdbc = StoreFixture.memoryDB(UUID.randomUUID().toString) StoreFixture.dataSource(jdbc).map(ds => (jdbc, ds)) } )