Skipping test when access and secret keys env. vars are not provided

master
Mauro Mugnaini 7 months ago
parent e376213903
commit 42d59ab0a9

@ -28,6 +28,7 @@ public class MinioAvatarStorageTest {
String secretKey = System.getenv(SECRET_KEY_ENV);
if (accessKey == null || secretKey == null) {
logger.error("Cannot proceed with tests without access and secret keys");
return;
}
Configuration minioConfig = new Configuration(ENDPOINT_URL, accessKey, secretKey, BUCKET);

Loading…
Cancel
Save