mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
update too "// primary DB configuration variable under test."
This commit is contained in:
parent
0499e91ebe
commit
ee27768807
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ func TestConcurrentWrites(t *testing.T) {
|
|||
|
||||
// openTestDB opens a fresh SQLite DB with the given MaxOpenConns.
|
||||
// Both parts use the same busy_timeout so that MaxOpenConns is the
|
||||
// only experimental variable.
|
||||
// primary DB configuration variable under test.
|
||||
openTestDB := func(t *testing.T, maxConns int) *sql.DB {
|
||||
t.Helper()
|
||||
dbPath := filepath.Join(t.TempDir(), "test.db")
|
||||
|
|
|
|||
Loading…
Reference in a new issue