bilaharith opened a new pull request #2278: URL: https://github.com/apache/hadoop/pull/2278
ADLS Gen 2 supports accounts with and without hierarchical namespace support. ABFS driver supports various authorization mechanisms like OAuth, haredKey, Shared Access Signature. The integration tests need to be executed against accounts with and without hierarchical namespace support using various authorization mechanisms. Currently the developer has to manually run the tests with different combinations of configurations. The expectation is to automate these runs with different combinations. The PR introduces a shell script with which the developer can specify the configuration variants and get different combinations of tests executed. The script runtests.sh contain template for 3 combinations of tests. In case any new flags or properties are introduced with the code change, add the combinations with the possible configurations into the runtests.sh. Adding a combination of tests involves setting the variable scenario (ex: HNS -OAuth) and specifying the specific configurations for the particular combination with 2 arrays namely properties and values. Specify the property names within the array properties and corresponding values in the values array. The property and value is determined by the array index. The value for the property mentioned at index 1 of array properties should be specified at index 1 of the array values. Call the function runtestwithconfs once the 3 values mentioned are set. Now the script runtests.sh is ready to be ran. Once the tests are completed, logs will be present in the directory testlogs. A consolidated test results will be present in the file Test-$starttime-Results .log, $startname will be the start time of the test. Similarly, the full test report can be found in individual log files, for each of the scenarios with the file name Test-$starttime-Logs-$scenario. Please attach the consolidates test results from the file Test-$starttime-Results.log into the respective PRs. ---------------------------------------------------------------- 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]
