[ 
https://issues.apache.org/jira/browse/HADOOP-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624311#comment-17624311
 ] 

ASF GitHub Bot commented on HADOOP-17767:
-----------------------------------------

snvijaya opened a new pull request, #5080:
URL: https://github.com/apache/hadoop/pull/5080

   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. An option to 
delete old test containers on the account is also added. Sample run output:
   
   `Choose action:
   [Note - SET_ACTIVE_TEST_CONFIG will help activate the config for IDE/single 
test class runs]
   1) SET_ACTIVE_TEST_CONFIG               4) SET_OR_CHANGE_TEST_ACCOUNT
   2) RUN_TEST                             5) 
PRINT_LOG4J_LOG_PATHS_FROM_LAST_RUN
   3) CLEAN_UP_OLD_TEST_CONTAINERS
   #? 2
   Enter parallel test run process count [default - 8]: 4
    
   Set the active test combination to run the action:
   1) HNS-OAuth               3) nonHNS-SharedKey        5) 
AllCombinationsTestRun
   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 
account: snvijayacontracttest for combination HNS-OAuth
   Running test for combination HNS-OAuth on account snvijayacontracttest 
[ProcessCount=4]
   Test run report can be seen in 
dev-support/testlogs/2022-10-07_05-23-22/Test-Logs-HNS-OAuth.txt 
   `




> 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
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 1h 50m
>  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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to