File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3406,18 +3406,16 @@ static int s_test_s3_put_object_buffer_acquire_error(struct aws_allocator *alloc
34063406 .allocator = allocator ,
34073407 .meta_request_type = AWS_S3_META_REQUEST_TYPE_PUT_OBJECT ,
34083408 .client = client ,
3409- .sse_type = AWS_S3_TESTER_SSE_C_AES256 ,
3410- .checksum_algorithm = AWS_SCA_CRC32 ,
3409+ .validate_type = AWS_S3_TESTER_VALIDATE_TYPE_EXPECT_FAILURE ,
34113410 .put_options =
34123411 {
34133412 .object_size_mb = 10 ,
34143413 .object_path_override = object_path ,
34153414 },
34163415 };
34173416
3418- ASSERT_INT_EQUALS (
3419- AWS_ERROR_S3_BUFFER_ALLOCATION_FAILED ,
3420- aws_s3_tester_send_meta_request_with_options (& tester , & put_options , NULL ));
3417+ ASSERT_SUCCESS (aws_s3_tester_send_meta_request_with_options (& tester , & put_options , & meta_request_test_results ));
3418+ ASSERT_INT_EQUALS (AWS_ERROR_S3_BUFFER_ALLOCATION_FAILED , meta_request_test_results .finished_error_code );
34213419 client = aws_s3_client_release (client );
34223420
34233421 aws_byte_buf_clean_up (& path_buf );
You can’t perform that action at this time.
0 commit comments