mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-27 21:59:31 +03:00
test: fix flaky scanner tests by setting maximum open connections to 1
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
e06fbd26b7
commit
1e4c759d93
@ -54,6 +54,7 @@ var _ = Describe("Scanner", Ordered, func() {
|
||||
conf.Server.DbPath = filepath.Join(tmpDir, "test-scanner.db?_journal_mode=WAL")
|
||||
log.Warn("Using DB at " + conf.Server.DbPath)
|
||||
//conf.Server.DbPath = ":memory:"
|
||||
db.Db().SetMaxOpenConns(1)
|
||||
})
|
||||
|
||||
BeforeEach(func() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user