diff options
| author | chrislu <chris.lu@gmail.com> | 2025-07-06 21:50:08 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-07-06 21:50:08 -0700 |
| commit | 84938714067e4baf76b1ed9dcf9179f6b0ed25c7 (patch) | |
| tree | 5eefb227a6035405013008ef9276a70f714717a4 /weed/credential/credential_test.go | |
| parent | a7c57caa3f7eec74c05f1008acdd01db7e857d5b (diff) | |
| download | seaweedfs-3.93.tar.xz seaweedfs-3.93.zip | |
remove sqlite due to GOOS support for freebsd and openbsd3.93
Diffstat (limited to 'weed/credential/credential_test.go')
| -rw-r--r-- | weed/credential/credential_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/credential/credential_test.go b/weed/credential/credential_test.go index 70eeb7b0c..dd1449fa5 100644 --- a/weed/credential/credential_test.go +++ b/weed/credential/credential_test.go @@ -19,10 +19,10 @@ func TestCredentialStoreInterface(t *testing.T) { storeNames := GetAvailableStores() expectedStores := []string{string(StoreTypeFilerEtc), string(StoreTypeMemory)} - // Add SQLite and PostgreSQL if they're available (build tags dependent) + // Add PostgreSQL if it's available (build tags dependent) for _, storeName := range storeNames { found := false - for _, expected := range append(expectedStores, string(StoreTypeSQLite), string(StoreTypePostgres)) { + for _, expected := range append(expectedStores, string(StoreTypePostgres)) { if string(storeName) == expected { found = true break @@ -319,10 +319,10 @@ func TestGetAvailableStores(t *testing.T) { // We expect at least memory and filer_etc stores to be available expectedStores := []string{string(StoreTypeFilerEtc), string(StoreTypeMemory)} - // Add SQLite and PostgreSQL if they're available (build tags dependent) + // Add PostgreSQL if it's available (build tags dependent) for _, storeName := range storeNames { found := false - for _, expected := range append(expectedStores, string(StoreTypeSQLite), string(StoreTypePostgres)) { + for _, expected := range append(expectedStores, string(StoreTypePostgres)) { if storeName == expected { found = true break |
