distribution/registry/storage/cache/memory/memory_test.go

14 lines
351 B
Go

package memory
import (
"testing"
"github.com/distribution/distribution/v3/registry/storage/cache/cachecheck"
)
// TestInMemoryBlobInfoCache checks the in memory implementation is working
// correctly.
func TestInMemoryBlobInfoCache(t *testing.T) {
cachecheck.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider(UnlimitedSize))
}