diff --git a/pkg/storage/stores/shipper/uploads/table_test.go b/pkg/storage/stores/shipper/uploads/table_test.go index 7f2d3a7c3be47..fa62e4143d0c8 100644 --- a/pkg/storage/stores/shipper/uploads/table_test.go +++ b/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())) }