Browse Source

HADOOP-19190. Skip ITestS3AEncryptionWithDefaultS3Settings.testEncryptionFileAttributes when bucket not encrypted with sse-kms (#6859)

Follow up of HADOOP-19190
Mukund Thakur 11 tháng trước cách đây
mục cha
commit
f92a8ab8ae

+ 1 - 0
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionWithDefaultS3Settings.java

@@ -102,6 +102,7 @@ public class ITestS3AEncryptionWithDefaultS3Settings extends
   @Test
   public void testEncryptionFileAttributes() throws Exception {
     describe("Test for correct encryption file attributes for SSE-KMS with user default setting.");
+    skipIfBucketNotKmsEncrypted();
     Path path = path(createFilename(1024));
     byte[] data = dataset(1024, 'a', 'z');
     S3AFileSystem fs = getFileSystem();