chore(db): cleanup DB in tests and remove OpenTemp (#10282)

Filled up my tmpfs with test DBs when running benchmarks :)
This commit is contained in:
Simon Frei
2025-08-24 09:58:56 +00:00
committed by GitHub
parent a259a009c8
commit e54f51c9c5
13 changed files with 38 additions and 51 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ func (c *mockClock) wind(t time.Duration) {
func TestTokenManager(t *testing.T) {
t.Parallel()
mdb, err := sqlite.OpenTemp()
mdb, err := sqlite.Open(t.TempDir())
if err != nil {
t.Fatal(err)
}