HADOOP-19190. Skip ITestS3AEncryptionWithDefaultS3Settings.testEncryptionFileAttributes when bucket not encrypted with sse-kms (#6859)
Follow up of HADOOP-19190
This commit is contained in:
parent
f1e2ceb823
commit
f92a8ab8ae
@ -102,6 +102,7 @@ protected void assertEncrypted(Path path) throws IOException {
|
|||||||
@Test
|
@Test
|
||||||
public void testEncryptionFileAttributes() throws Exception {
|
public void testEncryptionFileAttributes() throws Exception {
|
||||||
describe("Test for correct encryption file attributes for SSE-KMS with user default setting.");
|
describe("Test for correct encryption file attributes for SSE-KMS with user default setting.");
|
||||||
|
skipIfBucketNotKmsEncrypted();
|
||||||
Path path = path(createFilename(1024));
|
Path path = path(createFilename(1024));
|
||||||
byte[] data = dataset(1024, 'a', 'z');
|
byte[] data = dataset(1024, 'a', 'z');
|
||||||
S3AFileSystem fs = getFileSystem();
|
S3AFileSystem fs = getFileSystem();
|
||||||
|
Loading…
Reference in New Issue
Block a user