File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
services/s3/src/it/java/software/amazon/awssdk/services/s3/checksum Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ void asyncHttpsValidUnsignedTrailerChecksumCalculatedBySdkClient_withSmallReques
111
111
.build (), AsyncRequestBody .fromString ("Hello world" )).join ();
112
112
assertThat (interceptor .requestChecksumInTrailer ()).isEqualTo ("x-amz-checksum-crc32" );
113
113
assertThat (interceptor .requestChecksumInHeader ()).isNull ();
114
+ assertThat (interceptor .contentEncoding ()).isEqualTo ("aws-chunked" );
114
115
115
116
String response = s3Async .getObject (GetObjectRequest .builder ().bucket (BUCKET )
116
117
.key (KEY ).checksumMode (ChecksumMode .ENABLED )
117
118
.build (), AsyncResponseTransformer .toBytes ()).join ().asUtf8String ();
118
119
assertThat (interceptor .validationAlgorithm ()).isEqualTo (Algorithm .CRC32 );
119
- assertThat (interceptor .contentEncoding ()).isEqualTo ("aws-chunked" );
120
120
assertThat (interceptor .responseValidation ()).isEqualTo (ChecksumValidation .VALIDATED );
121
121
assertThat (response ).isEqualTo ("Hello world" );
122
122
}
You can’t perform that action at this time.
0 commit comments