We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8ff207 commit 6012c32Copy full SHA for 6012c32
global_test.go
@@ -30,15 +30,15 @@ func TestPostgreSQL(t *testing.T) {
30
testSqlDb(t, db, 30)
31
}
32
33
-func TestSqlite3(t *testing.T) {
34
- dbPath := os.Getenv("STORAGE_LOCK_SQLITE3_DB_PATH")
35
- assert.NotEmpty(t, dbPath)
36
-
37
- db, err := sql.Open("sqlite3", dbPath)
38
- assert.Nil(t, err)
39
40
- testSqlDb(t, db, 3)
41
-}
+//func TestSqlite3(t *testing.T) {
+// dbPath := os.Getenv("STORAGE_LOCK_SQLITE3_DB_PATH")
+// assert.NotEmpty(t, dbPath)
+//
+// db, err := sql.Open("sqlite3", dbPath)
+// assert.Nil(t, err)
+// testSqlDb(t, db, 2)
+//}
42
43
// 单元测试的公共逻辑提取
44
func testSqlDb(t *testing.T, db *sql.DB, playNum int) {
0 commit comments