diff --git a/pkg/cloud/amazon/s3_storage_test.go b/pkg/cloud/amazon/s3_storage_test.go index e297d525f65f..0f1b2fbf16a4 100644 --- a/pkg/cloud/amazon/s3_storage_test.go +++ b/pkg/cloud/amazon/s3_storage_test.go @@ -449,7 +449,7 @@ func TestS3BucketDoesNotExist(t *testing.T) { _, err = s.ReadFile(ctx, "") require.Error(t, err, "") - require.True(t, errors.Is(err, cloud.ErrFileDoesNotExist)) + require.True(t, errors.Is(err, cloud.ErrFileDoesNotExist), "error is not cloud.ErrFileDoesNotExist: %v", err) } func TestAntagonisticS3Read(t *testing.T) {