Skip to content

Commit

Permalink
Remove createBucketAlreadyExists test
Browse files Browse the repository at this point in the history
Remove createBucketAlreadyExists test  because it's not a stable test
  • Loading branch information
zoewangg authored Oct 6, 2021
1 parent 776c577 commit 3216768
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ public void createBucketAlreadyOwnedByYou() {
.satisfies(e -> assertMetadata((S3Exception) e, "BucketAlreadyOwnedByYou"));
}

@Test
public void createBucketAlreadyExists() {
assertThatThrownBy(() -> s3.createBucket(b -> b.bucket("development")))
.isInstanceOf(BucketAlreadyExistsException.class)
.satisfies(e -> assertMetadata((S3Exception) e, "BucketAlreadyExists"));
}

@Test
public void getObjectNoSuchKey() {
assertThatThrownBy(() -> s3.getObject(GetObjectRequest.builder().bucket(BUCKET).key(KEY).build()))
Expand Down

0 comments on commit 3216768

Please sign in to comment.