Skip to content

Commit 35d4a9d

Browse files
authored
Use debug logging instead for Azure tests (#44672)
These Azure tests have hard println statements which means we always see these messages during configuration. Yet, there are unnecessary most of the time. This commit changes them to use debug logging.
1 parent 4c7764c commit 35d4a9d

File tree

1 file changed

+3
-3
lines changed
  • plugins/repository-azure/qa/microsoft-azure-storage

1 file changed

+3
-3
lines changed

plugins/repository-azure/qa/microsoft-azure-storage/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ testClusters.integTest {
7070
plugin file(project(':plugins:repository-azure').bundlePlugin.archiveFile)
7171
keystore 'azure.client.integration_test.account', azureAccount
7272
if (azureKey != null && azureKey.isEmpty() == false) {
73-
println "Using access key in external service tests."
73+
logger.debug("Using access key in external service tests.")
7474
keystore 'azure.client.integration_test.key', azureKey
7575
}
7676
if (azureSasToken != null && azureSasToken.isEmpty() == false) {
77-
println "Using SAS token in external service tests."
77+
logger.debug("Using SAS token in external service tests.")
7878
keystore 'azure.client.integration_test.sas_token', azureSasToken
7979
}
8080

@@ -87,6 +87,6 @@ testClusters.integTest {
8787
String firstPartOfSeed = project.rootProject.testSeed.tokenize(':').get(0)
8888
setting 'thread_pool.repository_azure.max', (Math.abs(Long.parseUnsignedLong(firstPartOfSeed, 16) % 10) + 1).toString(), System.getProperty('ignore.tests.seed') == null ? DEFAULT : IGNORE_VALUE
8989
} else {
90-
println "Using an external service to test the repository-azure plugin"
90+
logger.debug("Using an external service to test the repository-azure plugin")
9191
}
9292
}

0 commit comments

Comments
 (0)