diff --git a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/test/java/org/apache/nifi/processors/aws/s3/ITPutS3Object.java b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/test/java/org/apache/nifi/processors/aws/s3/ITPutS3Object.java index fac1e86d19..7d2fd0e70f 100644 --- a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/test/java/org/apache/nifi/processors/aws/s3/ITPutS3Object.java +++ b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/test/java/org/apache/nifi/processors/aws/s3/ITPutS3Object.java @@ -393,6 +393,11 @@ public class ITPutS3Object extends AbstractS3IT { Assert.assertTrue(runner.setProperty("x-custom-prop", "hello").isValid()); for (StorageClass storageClass : StorageClass.values()) { + if (storageClass == StorageClass.Outposts) { + // Outposts storage class cannot be tested on AWS cloud infrastructure + continue; + } + runner.setProperty(PutS3Object.STORAGE_CLASS, storageClass.name()); final Map attrs = new HashMap<>(); @@ -419,6 +424,11 @@ public class ITPutS3Object extends AbstractS3IT { Assert.assertTrue(runner.setProperty("x-custom-prop", "hello").isValid()); for (StorageClass storageClass : StorageClass.values()) { + if (storageClass == StorageClass.Outposts) { + // Outposts storage class cannot be tested on AWS cloud infrastructure + continue; + } + runner.setProperty(PutS3Object.STORAGE_CLASS, storageClass.name()); final Map attrs = new HashMap<>();