From 4ce67db7c8c99889cb928048b4bc43fc839e51dd Mon Sep 17 00:00:00 2001 From: glebarez <47985861+glebarez@users.noreply.github.com> Date: Thu, 10 Mar 2022 21:33:26 +0300 Subject: [PATCH] increase busy_timeout in tests, due to super slow Windows runner in Github actions --- all_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all_test.go b/all_test.go index 69998d8..bb78a33 100644 --- a/all_test.go +++ b/all_test.go @@ -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) }