Skip to content

Commit

Permalink
fix checkstyle warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AssahBismarkabah committed Oct 7, 2024
1 parent 2c0e857 commit 8493dbf
Showing 1 changed file with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ void init() {
void list() {
createFileWithMessage();

// // Log root and fileWithMsg URIs for debugging
// log.info("Root URI: " + root.location().toASCIIString());
// log.info("fileWithMsg URI: " + fileWithMsg.location().toASCIIString());
// Log root and fileWithMsg URIs for debugging

Stream<AbsoluteLocation<ResolvedResource>> list = storageService.list(root);
List<AbsoluteLocation<ResolvedResource>> resultList = list.collect(Collectors.toList());
Expand All @@ -106,16 +104,16 @@ void list() {

// Log the returned URI
String uriString = resultList.get(0).location().toASCIIString();
// log.info("Returned URI in CI/CD: " + uriString);

// // Add environment-related logging
// log.info("Running in region: " + System.getenv("AWS_REGION"));
// log.info("S3 Bucket Name: " + bucketName);
// log.info("AWS_ACCESS_KEY_ID: " + System.getenv("AWS_ACCESS_KEY_ID"));
// log.info("AWS_SECRET_ACCESS_KEY: " + System.getenv("AWS_SECRET_ACCESS_KEY"));
// log.info("AWS_REGION: " + System.getenv("AWS_REGION"));
// log.info("Minio container started at port: " + minio.getMappedPort(9000));
// log.info("Minio container is running: " + minio.isRunning());
// log.info("Returned URI in CI/CD: " + uriString);

// // Add environment-related logging
// log.info("Running in region: " + System.getenv("AWS_REGION"));
// log.info("S3 Bucket Name: " + bucketName);
// log.info("AWS_ACCESS_KEY_ID: " + System.getenv("AWS_ACCESS_KEY_ID"));
// log.info("AWS_SECRET_ACCESS_KEY: " + System.getenv("AWS_SECRET_ACCESS_KEY"));
// log.info("AWS_REGION: " + System.getenv("AWS_REGION"));
// log.info("Minio container started at port: " + minio.getMappedPort(9000));
// log.info("Minio container is running: " + minio.isRunning());

assertThat(uriString).contains(FILE);
}
Expand Down

0 comments on commit 8493dbf

Please sign in to comment.