SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
package integration
import (
"context"
"errors"
"testing"
)
func TestMemoryRoleStoreWrapsErrRoleNotFound(t *testing.T) {
_, err := NewMemoryRoleStore().GetRole(context.Background(), "", "missing")
if !errors.Is(err, ErrRoleNotFound) {
t.Fatalf("missing role error does not wrap ErrRoleNotFound: %v", err)
}
}