HADOOP-16758. Refine testing.md to tell user better how to use auth-keys.xml (#1753)

Contributed by Mingliang Liu
This commit is contained in:
Mingliang Liu 2019-12-11 11:52:53 -08:00
parent 3402c87353
commit d19981fe48
No known key found for this signature in database
GPG Key ID: BC2FB8C6908A0C16
1 changed files with 4 additions and 3 deletions

View File

@ -151,8 +151,9 @@ Example:
For S3a encryption tests to run correctly, the
`fs.s3a.server-side-encryption.key` must be configured in the s3a contract xml
file with a AWS KMS encryption key arn as this value is different for each AWS
KMS.
file or `auth-keys.xml` file with a AWS KMS encryption key arn as this value is
different for each AWS KMS. Please note this KMS key should be created in the
same region as your S3 bucket. Otherwise, you may get `KMS.NotFoundException`.
Example:
@ -1026,7 +1027,7 @@ mvn -T 1C verify -Dtest=skip -Dit.test=ITestS3AMiscOperations -Ds3guard -Ddynamo
### Notes
1. If the `s3guard` profile is not set, then the S3Guard properties are those
of the test configuration set in `contract-test-options.xml` or `auth-keys.xml`
of the test configuration set in s3a contract xml file or `auth-keys.xml`
If the `s3guard` profile *is* set,
1. The S3Guard options from maven (the dynamo and authoritative flags)