87ff947038
Ensure that clients can use the blob descriptor cache provider without needing the redis package. Signed-off-by: Stephen J Day <stephen.day@docker.com>
13 lines
313 B
Go
13 lines
313 B
Go
package memory
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/docker/distribution/registry/storage/cache"
|
|
)
|
|
|
|
// TestInMemoryBlobInfoCache checks the in memory implementation is working
|
|
// correctly.
|
|
func TestInMemoryBlobInfoCache(t *testing.T) {
|
|
cache.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider())
|
|
}
|