[
https://issues.apache.org/jira/browse/HADOOP-19783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051413#comment-18051413
]
ASF GitHub Bot commented on HADOOP-19783:
-----------------------------------------
manika137 commented on code in PR #8180:
URL: https://github.com/apache/hadoop/pull/8180#discussion_r2684630958
##########
hadoop-tools/hadoop-azure/dev-support/testrun-scripts/runtests.sh:
##########
@@ -93,65 +93,80 @@ runHNSOAuthDFSIngressBlobTest()
runTest=false
cleanUpTestContainers=false
-echo 'Ensure below are complete before running script:'
-echo '1. Account specific settings file is present.'
-echo ' Copy accountName_settings.xml.template to accountName_settings.xml'
-echo ' where accountName in copied file name should be the test account name
without domain'
-echo ' (accountName_settings.xml.template is present in
src/test/resources/accountName_settings'
-echo ' folder. New account settings file to be added to same folder.)'
-echo ' Follow instructions in the template to populate settings correctly
for the account'
-echo '2. In azure-auth-keys.xml, update properties fs.azure.hnsTestAccountName
and fs.azure.nonHnsTestAccountName'
-echo ' where accountNames should be the test account names without domain'
-echo ' '
-echo ' '
-echo 'Choose action:'
-echo '[Note - SET_ACTIVE_TEST_CONFIG will help activate the config for
IDE/single test class runs]'
-select scriptMode in SET_ACTIVE_TEST_CONFIG RUN_TEST
CLEAN_UP_OLD_TEST_CONTAINERS SET_OR_CHANGE_TEST_ACCOUNT
PRINT_LOG4J_LOG_PATHS_FROM_LAST_RUN
-do
- case $scriptMode in
- SET_ACTIVE_TEST_CONFIG)
- runTest=false
- break
- ;;
- RUN_TEST)
- runTest=true
- read -r -p "Enter parallel test run process count [default - 8]: "
processCount
- processCount=${processCount:-8}
- break
- ;;
- CLEAN_UP_OLD_TEST_CONTAINERS)
- runTest=false
- cleanUpTestContainers=true
- break
- ;;
- SET_OR_CHANGE_TEST_ACCOUNT)
- runTest=false
- cleanUpTestContainers=false
- accountSettingsFile="src/test/resources/azure-auth-keys.xml"
- if [[ ! -f "$accountSettingsFile" ]];
- then
- logOutput "No settings present. Creating new settings file
($accountSettingsFile) from template"
- cp src/test/resources/azure-auth-keys.xml.template $accountSettingsFile
- fi
-
- vi $accountSettingsFile
- exit 0
- break
- ;;
- PRINT_LOG4J_LOG_PATHS_FROM_LAST_RUN)
- runTest=false
- cleanUpTestContainers=false
- logFilePaths=/tmp/logPaths
- find target/ -name "*output.txt" > $logFilePaths
- logOutput "$(cat $logFilePaths)"
- rm $logFilePaths
- exit 0
- break
- ;;
- *) logOutput "ERROR: Invalid selection"
- ;;
- esac
-done
+
+if [ "$isCronJob" = "true" ]; then
Review Comment:
This is getting set from the cronjob command only and is expected. Will add
a comment for it
> ABFS: Scheduling Daily CI
> -------------------------
>
> Key: HADOOP-19783
> URL: https://issues.apache.org/jira/browse/HADOOP-19783
> Project: Hadoop Common
> Issue Type: Task
> Components: fs/azure
> Affects Versions: 3.4.1, 3.4.2
> Reporter: Manika Joshi
> Assignee: Manika Joshi
> Priority: Minor
> Labels: pull-request-available
>
> Adding supporting code to automate the CI to run daily and send the results
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]