RussellSpitzer commented on code in PR #117:
URL: https://github.com/apache/polaris/pull/117#discussion_r1730501243
##########
polaris-core/src/test/java/io/polaris/service/storage/azure/AzureCredentialStorageIntegrationTest.java:
##########
@@ -49,31 +49,25 @@
import java.util.Map;
import java.util.stream.Stream;
import org.assertj.core.api.Assertions;
+import org.assertj.core.api.Assumptions;
import org.assertj.core.util.Strings;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.ArgumentsProvider;
import org.junit.jupiter.params.provider.ArgumentsSource;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
public class AzureCredentialStorageIntegrationTest {
- private static final Logger LOGGER =
- LoggerFactory.getLogger(AzureCredentialStorageIntegrationTest.class);
-
private final String clientId = System.getenv("AZURE_CLIENT_ID");
private final String clientSecret = System.getenv("AZURE_CLIENT_SECRET");
private final String tenantId = "d479c7c9-2632-445a-b22d-7c19e68774f6";
- private boolean checkEnvNullVariables() {
- if (Strings.isNullOrEmpty(clientId) ||
Strings.isNullOrEmpty(clientSecret)) {
- LOGGER.debug("Null Azure testing environment variables! Skip {}",
this.getClass().getName());
- return true;
- }
- return false;
+ private void checkEnvNullVariables() {
Review Comment:
nit: now that this is void could be assumeEnvVariablesNotNull. To match the
naming of the test lib
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]