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
`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]