2015-05-20 17:12:40 -07:00
|
|
|
package memory
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2015-09-24 18:22:23 -07:00
|
|
|
"github.com/docker/distribution/registry/storage/cache/cachecheck"
|
2015-05-20 17:12:40 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
// TestInMemoryBlobInfoCache checks the in memory implementation is working
|
|
|
|
// correctly.
|
|
|
|
func TestInMemoryBlobInfoCache(t *testing.T) {
|
2015-09-24 18:22:23 -07:00
|
|
|
cachecheck.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider())
|
2015-05-20 17:12:40 -07:00
|
|
|
}
|