refactor(plugin): use flat file system for loopback storage

This commit is contained in:
Damian Debkowski authored and Timothy Messier committed 2023-05-31 12:18:18 +00:00
1 parent 4387a59ce5
commit 234c4ade86
2 files changed
-25

No files matched your search

-10
View File
@@ -1001,17 +1001,7 @@ func TestLoopbackStoragePlugin(t *testing.T) {
require.NoError(err)
assert.EqualValues(hash.Sum(nil), putResponse.GetChecksumSha_256())
// Check directory was created
headResponse, err := plg.HeadObject(context.Background(), &plgpb.HeadObjectRequest{
Bucket: bucket,
Key: "dir1/",
})
require.NoError(err)
require.NotNil(headResponse)
require.NotNil(headResponse.LastModified)
require.Equal(int64(0), headResponse.ContentLength)
headResponse, err = plg.HeadObject(context.Background(), &plgpb.HeadObjectRequest{
Bucket: bucket,
Key: "dir1/mock_object",
})