We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b732d20 commit a34ec30Copy full SHA for a34ec30
tapdb/sqlite.go
@@ -160,11 +160,11 @@ func NewSqliteStore(cfg *SqliteConfig) (*SqliteStore, error) {
160
func NewTestSqliteDB(t *testing.T) *SqliteStore {
161
t.Helper()
162
163
- t.Logf("Creating new SQLite DB for testing")
+ dbFileName := filepath.Join(t.TempDir(), "tmp.db")
164
+ t.Logf("Creating new SQLite DB for testing: %s", dbFileName)
165
166
// TODO(roasbeef): if we pass :memory: for the file name, then we get
167
// an in mem version to speed up tests
- dbFileName := filepath.Join(t.TempDir(), "tmp.db")
168
sqlDB, err := NewSqliteStore(&SqliteConfig{
169
DatabaseFileName: dbFileName,
170
SkipMigrations: false,
0 commit comments