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

Follow up of HADOOP-19190
This commit is contained in:
Mukund Thakur 2024-06-03 12:00:31 -05:00 committed by GitHub
parent f1e2ceb823
commit f92a8ab8ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();