2015-05-21 00:12:40 +00:00
|
|
|
package memory
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2020-08-24 11:18:39 +00:00
|
|
|
"github.com/distribution/distribution/v3/registry/storage/cache/cachecheck"
|
2015-05-21 00:12:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// TestInMemoryBlobInfoCache checks the in memory implementation is working
|
|
|
|
// correctly.
|
|
|
|
func TestInMemoryBlobInfoCache(t *testing.T) {
|
2015-09-25 01:22:23 +00:00
|
|
|
cachecheck.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider())
|
2015-05-21 00:12:40 +00:00
|
|
|
}
|