diff --git a/src/test/java/org/testcontainers/containers/CephContainerTest.java b/src/test/java/org/testcontainers/containers/CephContainerTest.java index 8a42e37..8704432 100644 --- a/src/test/java/org/testcontainers/containers/CephContainerTest.java +++ b/src/test/java/org/testcontainers/containers/CephContainerTest.java @@ -41,13 +41,13 @@ public void testBasicUsage() throws Exception { AmazonS3 s3client = getS3client(container); - assertThat(s3client.doesBucketExistV2("test-bucket")).isTrue(); + assertThat(s3client.doesBucketExistV2("demo")).isTrue(); URL file = this.getClass().getResource("/object_to_upload.txt"); assertThat(file).isNotNull(); - s3client.putObject("test-bucket", "my-objectname", file.getFile()); + s3client.putObject("demo", "my-objectname", file.getFile()); - List objets = s3client.listObjectsV2("test-bucket").getObjectSummaries(); + List objets = s3client.listObjectsV2("demo").getObjectSummaries(); assertThat(objets.size()).isEqualTo(1); assertThat(objets.get(0).getKey()).isEqualTo("my-objectname"); } @@ -105,7 +105,6 @@ public void testSpecificDaemonImage() throws URISyntaxException { } // configuringClient { - private static AmazonS3 getS3client(CephContainer container) throws URISyntaxException { AWSCredentials credentials = new BasicAWSCredentials( container.getCephAccessKey(),