increase busy_timeout in tests, due to super slow Windows runner in Github actions

This commit is contained in:
glebarez
2022-03-10 21:33:26 +03:00
committed by GitHub
parent d8be899eca
commit 4ce67db7c8

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(10000)")
db, err := sql.Open("sqlite", filepath.Join(tempDir, "foo.db")+"?_pragma=busy_timeout(30000)")
if err != nil {
t.Fatalf("foo.db open fail: %v", err)
}