Worker tests: use in-memory SQLite database

This commit is contained in:
Sybren A. Stüvel 2022-03-08 15:03:03 +01:00
parent 34138e1b46
commit a61e3ca6f7

View File

@ -17,7 +17,7 @@ import (
"git.blender.org/flamenco/pkg/api" "git.blender.org/flamenco/pkg/api"
) )
const testBufferDBFilename = "test-flamenco-worker.db" const testBufferDBFilename = ":memory:"
type UpstreamBufferDBMocks struct { type UpstreamBufferDBMocks struct {
client *mocks.MockFlamencoClient client *mocks.MockFlamencoClient