Skip to content

Commit

Permalink
Revert "(TODO) Add intentional test failure to see if our CI builds e…
Browse files Browse the repository at this point in the history
…ven take care of running `make test`"

This reverts commit 7d6592d.
  • Loading branch information
AndiDog committed Jul 1, 2024
1 parent 3a8f650 commit 75ef82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/services/s3/s3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func TestDeleteBucket(t *testing.T) {

svc, s3Mock := testService(t, &infrav1.S3Bucket{})

s3Mock.EXPECT().ListObjectsV2(gomock.Any()).Return(&s3svc.ListObjectsV2Output{}, nil).Times(10000000000)
s3Mock.EXPECT().ListObjectsV2(gomock.Any()).Return(&s3svc.ListObjectsV2Output{}, nil).Times(1)
s3Mock.EXPECT().DeleteBucket(gomock.Any()).Return(nil, awserr.New("BucketNotEmpty", "", nil)).Times(1)

if err := svc.DeleteBucket(); err != nil {
Expand Down

0 comments on commit 75ef82a

Please sign in to comment.