@@ -1830,7 +1830,7 @@ static int s_test_s3_get_object_backpressure_helper(
18301830 }
18311831 /* Put together a simple S3 Get Object request. */
18321832 struct aws_http_message * message =
1833- aws_s3_test_get_object_request_new (allocator , host_cursor , g_pre_existing_object_10MB );
1833+ aws_s3_test_get_object_request_new (allocator , host_cursor , g_pre_existing_object_1MB );
18341834
18351835 struct aws_signing_config_aws s3express_signing_config = {
18361836 .algorithm = AWS_SIGNING_ALGORITHM_V4_S3EXPRESS ,
@@ -1845,7 +1845,7 @@ static int s_test_s3_get_object_backpressure_helper(
18451845 }
18461846 struct aws_string * filepath_str = NULL ;
18471847 if (file_on_disk ) {
1848- filepath_str = aws_s3_tester_create_file (allocator , g_pre_existing_object_10MB , NULL );
1848+ filepath_str = aws_s3_tester_create_file (allocator , g_pre_existing_object_1MB , NULL );
18491849 options .recv_filepath = aws_byte_cursor_from_string (filepath_str );
18501850 }
18511851
@@ -1902,7 +1902,7 @@ static int s_test_s3_get_object_backpressure_small_increments(struct aws_allocat
19021902 /* Test increments smaller than part-size.
19031903 * Only 1 part at a time should be in flight */
19041904 (void )ctx ;
1905- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1905+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19061906 size_t part_size = file_size / 4 ;
19071907 size_t window_initial_size = 1024 ;
19081908 uint64_t window_increment_size = part_size / 4 ;
@@ -1915,7 +1915,7 @@ static int s_test_s3_get_object_backpressure_big_increments(struct aws_allocator
19151915 /* Test increments larger than part-size.
19161916 * Multiple parts should be in flight at a time */
19171917 (void )ctx ;
1918- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1918+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19191919 size_t part_size = file_size / 8 ;
19201920 size_t window_initial_size = 1024 ;
19211921 uint64_t window_increment_size = part_size * 3 ;
@@ -1927,7 +1927,7 @@ AWS_TEST_CASE(test_s3_get_object_backpressure_initial_size_zero, s_test_s3_get_o
19271927static int s_test_s3_get_object_backpressure_initial_size_zero (struct aws_allocator * allocator , void * ctx ) {
19281928 /* Test with initial window size of zero */
19291929 (void )ctx ;
1930- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1930+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19311931 size_t part_size = file_size / 4 ;
19321932 size_t window_initial_size = 0 ;
19331933 uint64_t window_increment_size = part_size / 2 ;
@@ -1944,7 +1944,7 @@ static int s_test_s3_get_object_backpressure_small_increments_recv_filepath(
19441944 /* Test increments smaller than part-size.
19451945 * Only 1 part at a time should be in flight */
19461946 (void )ctx ;
1947- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1947+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19481948 size_t part_size = file_size / 4 ;
19491949 size_t window_initial_size = 1024 ;
19501950 uint64_t window_increment_size = part_size / 2 ;
@@ -1959,7 +1959,7 @@ static int s_test_s3_get_object_backpressure_big_increments_recv_filepath(struct
19591959 /* Test increments larger than part-size.
19601960 * Multiple parts should be in flight at a time */
19611961 (void )ctx ;
1962- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1962+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19631963 size_t part_size = file_size / 8 ;
19641964 size_t window_initial_size = 1024 ;
19651965 uint64_t window_increment_size = part_size * 3 ;
@@ -1975,7 +1975,7 @@ static int s_test_s3_get_object_backpressure_initial_size_zero_recv_filepath(
19751975 void * ctx ) {
19761976 /* Test with initial window size of zero */
19771977 (void )ctx ;
1978- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1978+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19791979 size_t part_size = file_size / 4 ;
19801980 size_t window_initial_size = 0 ;
19811981 uint64_t window_increment_size = part_size / 2 ;
@@ -1990,7 +1990,7 @@ static int s_test_s3_get_object_backpressure_small_increments_s3express(struct a
19901990 /* Test increments smaller than part-size with S3 Express.
19911991 * Only 1 part at a time should be in flight */
19921992 (void )ctx ;
1993- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
1993+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
19941994 size_t part_size = file_size / 4 ;
19951995 size_t window_initial_size = 1024 ;
19961996 uint64_t window_increment_size = part_size / 4 ;
@@ -2005,7 +2005,7 @@ static int s_test_s3_get_object_backpressure_big_increments_s3express(struct aws
20052005 /* Test increments larger than part-size with S3 Express.
20062006 * Multiple parts should be in flight at a time */
20072007 (void )ctx ;
2008- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
2008+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
20092009 size_t part_size = file_size / 8 ;
20102010 size_t window_initial_size = 1024 ;
20112011 uint64_t window_increment_size = part_size * 3 ;
@@ -2019,7 +2019,7 @@ AWS_TEST_CASE(
20192019static int s_test_s3_get_object_backpressure_initial_size_s3express (struct aws_allocator * allocator , void * ctx ) {
20202020 /* Test with initial window size of zero with S3 Express */
20212021 (void )ctx ;
2022- size_t file_size = 10 * 1024 * 1024 ; /* Test downloads 10MB file */
2022+ size_t file_size = 1 * 1024 * 1024 ; /* Test downloads 1MB file */
20232023 size_t part_size = file_size / 4 ;
20242024 size_t window_initial_size = 0 ;
20252025 uint64_t window_increment_size = part_size / 2 ;
0 commit comments