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