From 334cc1e59a94e66868d7ce0253bcfec993a12db5 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Mon, 14 Sep 2020 05:51:11 -0700 Subject: [PATCH] pkg/storage/stores/shipper/uploads: fix test error (#2620) Signed-off-by: Lars Lehtonen --- pkg/storage/stores/shipper/uploads/table_test.go | 1 + 1 file changed, 1 insertion(+) 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())) }