Skip to content

Commit 75387d2

Browse files
committed
Remove read only test
1 parent 7c508dc commit 75387d2

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

chdb-purego/chdb_test.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,23 +127,6 @@ func TestNewConnectionFromConnString(t *testing.T) {
127127
},
128128
}
129129

130-
// Create a directory with read-only permissions for permission testing
131-
readOnlyDir := filepath.Join(tmpDir, "readonly_dir")
132-
if err := os.MkdirAll(readOnlyDir, 0555); err != nil {
133-
t.Fatalf("Failed to create read-only directory: %v", err)
134-
}
135-
tests = append(tests, struct {
136-
name string
137-
connStr string
138-
wantErr bool
139-
checkPath bool
140-
}{
141-
name: "write mode with read-only dir",
142-
connStr: filepath.Join(readOnlyDir, "test.db"),
143-
wantErr: true,
144-
checkPath: true,
145-
})
146-
147130
for _, tt := range tests {
148131
t.Run(tt.name, func(t *testing.T) {
149132
conn, err := NewConnectionFromConnString(tt.connStr)

0 commit comments

Comments
 (0)