From 6fc936d0a64234ee9f42ed588662b3efee92ddf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 13 Jun 2022 15:31:30 +0200 Subject: [PATCH] Revert accidental debug code Revert change in rF01c45afc20854918d1f18e6859b4154499d500b6 that made unit tests use an on-disk database. --- internal/manager/persistence/test_support.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/manager/persistence/test_support.go b/internal/manager/persistence/test_support.go index 091dd27e..6dd5d2c8 100644 --- a/internal/manager/persistence/test_support.go +++ b/internal/manager/persistence/test_support.go @@ -18,8 +18,7 @@ import ( // Change this to a filename if you want to run a single test and inspect the // resulting database. -// const TestDSN = "file::memory:" -const TestDSN = "/home/sybren/workspace/flamenco/tests.sqlite" +const TestDSN = "file::memory:" func CreateTestDB(t *testing.T) (db *DB, closer func()) { // Delete the SQLite file if it exists on disk.