From 8493dbfe34ff58f74c85f67d0d54b865bd6cb164 Mon Sep 17 00:00:00 2001 From: AssahBismarkabah Date: Mon, 7 Oct 2024 15:13:06 +0100 Subject: [PATCH] fix checkstyle warning --- .../impl/s3/S3SystemStorageServiceIT.java | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/datasafe-storage/datasafe-storage-impl-s3/src/test/java/de/adorsys/datasafe/storage/impl/s3/S3SystemStorageServiceIT.java b/datasafe-storage/datasafe-storage-impl-s3/src/test/java/de/adorsys/datasafe/storage/impl/s3/S3SystemStorageServiceIT.java index ed94d5472..25974fe2e 100644 --- a/datasafe-storage/datasafe-storage-impl-s3/src/test/java/de/adorsys/datasafe/storage/impl/s3/S3SystemStorageServiceIT.java +++ b/datasafe-storage/datasafe-storage-impl-s3/src/test/java/de/adorsys/datasafe/storage/impl/s3/S3SystemStorageServiceIT.java @@ -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> list = storageService.list(root); List> resultList = list.collect(Collectors.toList()); @@ -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); }