return busy timeout to original (upstream) value

This commit is contained in:
glebarez
2022-02-09 12:19:56 +03:00
committed by GitHub
parent 006e649806
commit c3fd0604d6

View File

@@ -803,7 +803,7 @@ func TestIssue20(t *testing.T) {
os.RemoveAll(tempDir)
}()
db, err := sql.Open("sqlite", filepath.Join(tempDir, "foo.db")+"?_pragma=busy_timeout(5000)")
db, err := sql.Open("sqlite", filepath.Join(tempDir, "foo.db")+"?_pragma=busy_timeout(10000)")
if err != nil {
t.Fatalf("foo.db open fail: %v", err)
}