Skip to content

Commit b0e8436

Browse files
committed
addendum
1 parent 1d3be91 commit b0e8436

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,20 +1471,6 @@ public static void skipIfEncryptionNotSet(Configuration configuration,
14711471
}
14721472
}
14731473

1474-
/**
1475-
* Skip a test if any encryption algorithm is used.
1476-
*
1477-
* @param configuration configuration to probe.
1478-
*/
1479-
public static void skipIfAnyEncryptionSet(Configuration configuration) throws IOException {
1480-
String bucket = getTestBucketName(configuration);
1481-
final EncryptionSecrets secrets = buildEncryptionSecrets(bucket, configuration);
1482-
final String encryptionMethod = secrets.getEncryptionMethod().getMethod();
1483-
if (!S3AEncryptionMethods.NONE.getMethod().equals(encryptionMethod)) {
1484-
skip(encryptionMethod + " encryption is used");
1485-
}
1486-
}
1487-
14881474
/**
14891475
* Get the input stream statistics of an input stream.
14901476
* Raises an exception if the inner stream is not an S3A input stream

0 commit comments

Comments
 (0)