File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5172,8 +5172,10 @@ static int s_test_s3_round_trip_dynamic_range_size_download_single_part(struct a
51725172 struct aws_s3_tester tester ;
51735173 ASSERT_SUCCESS (aws_s3_tester_init (allocator , & tester ));
51745174
5175+ /* Gives it a higher memory limit to allow parts around 30MiB */
51755176 struct aws_s3_tester_client_options client_options = {
51765177 .part_size = MB_TO_BYTES (8 ),
5178+ .memory_limit_in_bytes = GB_TO_BYTES (5 ),
51775179 };
51785180
51795181 struct aws_s3_client * client = NULL ;
Original file line number Diff line number Diff line change @@ -1414,6 +1414,7 @@ int aws_s3_tester_client_new(
14141414 .s3express_provider_override_factory = options -> s3express_provider_override_factory ,
14151415 .factory_user_data = options -> factory_user_data ,
14161416 .enable_s3express = options -> s3express_provider_override_factory != NULL ,
1417+ .memory_limit_in_bytes = options -> memory_limit_in_bytes ,
14171418 };
14181419 struct aws_http_proxy_options proxy_options = {
14191420 .connection_type = AWS_HPCT_HTTP_FORWARD ,
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ struct aws_s3_tester_client_options {
142142 uint32_t use_proxy : 1 ;
143143 aws_s3express_provider_factory_fn * s3express_provider_override_factory ;
144144 void * factory_user_data ;
145+ uint64_t memory_limit_in_bytes ;
145146};
146147
147148/* should really break this up to a client setup, and a meta_request sending */
You can’t perform that action at this time.
0 commit comments