(t *testing.T)
| 67 | const cacheSize = 1 << 20 |
| 68 | |
| 69 | func NewProxiedDisk(t *testing.T) (*Storage, *localdisk.DiskStorage) { |
| 70 | ds := NewDiskStorage(t) |
| 71 | return New(cacheSize, memory.NewCache(cacheSize), ds), ds |
| 72 | } |
| 73 | |
| 74 | func TestEviction(t *testing.T) { |
| 75 | const blobsize = cacheSize / 6 |
no test coverage detected