17
17
18
18
import static org .assertj .core .api .Assertions .assertThat ;
19
19
import static software .amazon .awssdk .services .s3 .regression .ControlPlaneOperationRegressionTesting .testConfigs ;
20
- import static software .amazon .awssdk .services .s3 .regression .S3ChecksumsTestUtils .assumeNotAccelerateWithArnType ;
21
- import static software .amazon .awssdk .services .s3 .regression .S3ChecksumsTestUtils .assumeNotAccelerateWithEoz ;
22
- import static software .amazon .awssdk .services .s3 .regression .S3ChecksumsTestUtils .assumeNotAccelerateWithPathStyle ;
23
20
import static software .amazon .awssdk .services .s3 .regression .S3ChecksumsTestUtils .assumeNotAccessPointWithPathStyle ;
24
21
import static software .amazon .awssdk .services .s3 .regression .S3ChecksumsTestUtils .crc32 ;
25
22
@@ -115,10 +112,7 @@ void testCleanup() {
115
112
@ ParameterizedTest
116
113
@ MethodSource ("downloadConfigs" )
117
114
void downloadObject (DownloadConfig config ) throws Exception {
118
- assumeNotAccelerateWithPathStyle (config .baseConfig ());
119
115
assumeNotAccessPointWithPathStyle (config .baseConfig ());
120
- assumeNotAccelerateWithArnType (config .baseConfig ());
121
- assumeNotAccelerateWithEoz (config .baseConfig ());
122
116
123
117
LOG .debug (() -> "Running downloadObject with config: " + config );
124
118
@@ -494,7 +488,6 @@ private S3Client makeSyncClient(TestConfig config) {
494
488
.requestChecksumCalculation (config .getRequestChecksumValidation ())
495
489
.region (REGION )
496
490
.credentialsProvider (CREDENTIALS_PROVIDER_CHAIN )
497
- .accelerate (config .isAccelerateEnabled ())
498
491
.build ();
499
492
default :
500
493
throw new RuntimeException ("Unsupported sync flavor: " + config .getFlavor ());
@@ -509,15 +502,13 @@ private S3AsyncClient makeAsyncClient(TestConfig config) {
509
502
.requestChecksumCalculation (config .getRequestChecksumValidation ())
510
503
.region (REGION )
511
504
.credentialsProvider (CREDENTIALS_PROVIDER_CHAIN )
512
- .accelerate (config .isAccelerateEnabled ())
513
505
.build ();
514
506
case MULTIPART_ENABLED :
515
507
return S3AsyncClient .builder ()
516
508
.forcePathStyle (config .isForcePathStyle ())
517
509
.requestChecksumCalculation (config .getRequestChecksumValidation ())
518
510
.region (REGION )
519
511
.credentialsProvider (CREDENTIALS_PROVIDER_CHAIN )
520
- .accelerate (config .isAccelerateEnabled ())
521
512
.multipartEnabled (true )
522
513
.build ();
523
514
case CRT_BASED : {
@@ -526,7 +517,6 @@ private S3AsyncClient makeAsyncClient(TestConfig config) {
526
517
.requestChecksumCalculation (config .getRequestChecksumValidation ())
527
518
.region (REGION )
528
519
.credentialsProvider (CREDENTIALS_PROVIDER_CHAIN )
529
- .accelerate (config .isAccelerateEnabled ())
530
520
.build ();
531
521
}
532
522
default :
0 commit comments