Skip to content

Conversation

@anmolanmol1234
Copy link
Collaborator

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

Copy link
Collaborator

@snvijaya snvijaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@anmolanmol1234 anmolanmol1234 merged commit f3531df into ABFS_3.3.2_dev Apr 4, 2023
saxenapranav added a commit that referenced this pull request Jun 23, 2023
…change

Abfs 3.3.2 dev rename major change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants