Skip to content

Commit

Permalink
add missing cleanupBucket for testDecryptedCopyObject (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Feb 10, 2022
1 parent 8c600e5 commit ad9e0ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functional_tests.go
Expand Up @@ -8143,6 +8143,8 @@ func testDecryptedCopyObject() {
return
}

defer cleanupBucket(bucketName, c)

encryption := encrypt.DefaultPBKDF([]byte("correct horse battery staple"), []byte(bucketName+objectName))
_, err = c.PutObject(context.Background(), bucketName, objectName, bytes.NewReader(bytes.Repeat([]byte("a"), 1024*1024)), 1024*1024, minio.PutObjectOptions{
ServerSideEncryption: encryption,
Expand Down

0 comments on commit ad9e0ca

Please sign in to comment.