[
https://issues.apache.org/jira/browse/HADOOP-17767?focusedWorklogId=612475&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-612475
]
ASF GitHub Bot logged work on HADOOP-17767:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 21/Jun/21 07:30
Start Date: 21/Jun/21 07:30
Worklog Time Spent: 10m
Work Description: snvijaya opened a new pull request #3124:
URL: https://github.com/apache/hadoop/pull/3124
Current test run scripts need manual update across all combinations in
runTests.sh for account name and is working off a single azure-auth-keys.xml
file. While having to test across accounts that span various geo, the config
file grows big and also needs a manual change for configs such as
fs.contract.test.[abfs/abfss] which has to be uniquely set. To use the script
across various combinations, dev to be aware of the names of all the
combinations defined in runTests.sh as well.
This PR updates the test scripts to address above concerns. Sample run
output:
> $ ./dev-support/testrun-scripts/runtests.sh
> [... builds project...]
> Choose mode:
> [Note - SET_ACTIVE_TEST_CONFIG will help activate the config for
IDE/single test class runs]
> 1) SET_ACTIVE_TEST_CONFIG
> 2) RUN_TEST
> #? 2
>
> Enter parallel test run thread count [default - 8]: 3
>
> Pick combination from the following:
> 1) HNS-OAuth 3) nonHNS-SharedKey 5) All
> 2) HNS-SharedKey 4) AppendBlob-HNS-OAuth 6) Quit
> #? 1
>
> Combination specific property setting: [ key=fs.azure.account.auth.type ,
value=OAuth ]
>
> Activated [src/test/resources/abfs-combination-test-configs.xml] - for
"storeaccountname" to run combination "HNS-OAuth"
> Running test for combination HNS-OAuth on account
storeaccountname[ThreadCount=3]
> Result can be seen in
dev-support/testlogs/2021-06-21_12-55-19/Test-Logs-HNS-OAuth.txt
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 612475)
Remaining Estimate: 0h
Time Spent: 10m
> ABFS: Improve test scripts
> --------------------------
>
> Key: HADOOP-17767
> URL: https://issues.apache.org/jira/browse/HADOOP-17767
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.3.0
> Reporter: Sneha Vijayarajan
> Assignee: Sneha Vijayarajan
> Priority: Minor
> Fix For: 3.4.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Current test run scripts need manual update across all combinations in
> runTests.sh for account name and is working off a single azure-auth-keys.xml
> file. While having to test across accounts that span various geo, the config
> file grows big and also needs a manual change for configs such as
> fs.contract.test.[abfs/abfss] which has to be uniquely set. To use the script
> across various combinations, dev to be aware of the names of all the
> combinations defined in runTests.sh as well.
>
> These concerns are addressed in the new version of the scripts.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]