pkg/storage/stores/shipper/uploads: fix test error (#2620)

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
pull/2627/head
Lars Lehtonen 6 years ago committed by GitHub
parent edb5fc5176
commit 334cc1e59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkg/storage/stores/shipper/uploads/table_test.go

@ -437,6 +437,7 @@ func TestTable_ImmutableUploads(t *testing.T) {
// delete everything uploaded
dir, err := ioutil.ReadDir(filepath.Join(objectStorageDir, table.name))
require.NoError(t, err)
for _, d := range dir {
os.RemoveAll(filepath.Join(objectStorageDir, table.name, d.Name()))
}

Loading…
Cancel
Save