Skip to content
Discussion options

You must be logged in to vote

You found a bug. It'll be fixed in the next release.

A new test case is added.

@Test
@LocalS3
void testHeadObject(AmazonS3 s3) {
String bucketName = "my-bucket";
s3.createBucket(bucketName);
s3.putObject(bucketName, "a.txt", "Hello");
assertTrue(s3.doesObjectExist(bucketName, "a.txt"));
s3.deleteObject(bucketName, "a.txt");
assertFalse(s3.doesObjectExist(bucketName, "a.txt"));
}

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Robothy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants