Skip to content

Commit

Permalink
revert the test again
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Feb 26, 2025
1 parent 71d071d commit 0e4fac8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static int s_test_tls_download_medium_file_general(
http_options.allocator = test.alloc;
http_options.bootstrap = test.client_bootstrap;
http_options.host_name = *aws_uri_host_name(&uri);
http_options.port = 80;
http_options.port = 443;
http_options.on_setup = s_on_connection_setup;
http_options.on_shutdown = s_on_connection_shutdown;
http_options.socket_options = &socket_options;
Expand Down Expand Up @@ -219,7 +219,7 @@ static int s_test_tls_download_medium_file_general(
/* wait for the request to complete */
s_test_wait(&test, s_stream_wait_pred);

ASSERT_INT_EQUALS(181476, test.body_size);
ASSERT_INT_EQUALS(14428801, test.body_size);

aws_http_message_destroy(request);
aws_http_stream_release(test.stream);
Expand All @@ -237,8 +237,8 @@ static int s_test_tls_download_medium_file_general(

static int s_test_tls_download_medium_file_h1(struct aws_allocator *allocator, void *ctx) {
(void)ctx;
struct aws_byte_cursor url = aws_byte_cursor_from_c_str(
"http://aws-crt-test-stuff-us-west-2.s3.us-west-2.amazonaws.com/put_object_test_128MB.txt");
struct aws_byte_cursor url =
aws_byte_cursor_from_c_str("https://aws-crt-test-stuff.s3.amazonaws.com/http_test_doc.txt");
ASSERT_SUCCESS(s_test_tls_download_medium_file_general(allocator, url, false /*h2_required*/));
return AWS_OP_SUCCESS;
}
Expand Down

0 comments on commit 0e4fac8

Please sign in to comment.