Skip to content

Commit 7d72301

Browse files
authored
Merge pull request #2858 from aws/joviegas/s3control
Removing s3Control functional test after update in s3control model
2 parents c4ce52c + 92acea2 commit 7d72301

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

services/s3control/src/test/java/software/amazon/awssdk/services/s3control/internal/functionaltests/arns/S3OutpostAccessPointArnTest.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,6 @@ public void methodSetUp() {
4545
s3 = buildClient();
4646
}
4747

48-
@Test
49-
public void dualstackEnabled_shouldThrowException() {
50-
S3ControlClient s3ControlForTest = buildClientCustom().serviceConfiguration(b -> b.dualstackEnabled(true)).build();
51-
52-
String outpostArn = "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint";
53-
54-
exception.expect(SdkClientException.class);
55-
exception.expectMessage("Outpost Access Points do not support dual-stack");
56-
s3ControlForTest.getAccessPoint(b -> b.name(outpostArn));
57-
}
58-
59-
@Test
60-
public void dualstackEnabledViaClient_shouldThrowException() {
61-
S3ControlClient s3ControlForTest = buildClientCustom().dualstackEnabled(true).build();
62-
63-
String outpostArn = "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint";
64-
65-
exception.expect(SdkClientException.class);
66-
exception.expectMessage("Outpost Access Points do not support dual-stack");
67-
s3ControlForTest.getAccessPoint(b -> b.name(outpostArn));
68-
}
6948

7049
@Test
7150
public void malformedArn_MissingOutpostSegment_shouldThrowException() {

0 commit comments

Comments
 (0)