Skip to content

Commit

Permalink
Make port more random for test_socket_with_bind_to_interface test (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 authored Aug 2, 2024
1 parent e5fe40e commit b561534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/socket_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ static int s_test_socket_with_bind_to_interface(struct aws_allocator *allocator,
options.domain = AWS_SOCKET_IPV4;
ASSERT_SUCCESS(s_test_socket(allocator, &options, &endpoint));

struct aws_socket_endpoint endpoint_ipv6 = {.address = "::1", .port = 1024};
struct aws_socket_endpoint endpoint_ipv6 = {.address = "::1", .port = 8128};
options.type = AWS_SOCKET_STREAM;
options.domain = AWS_SOCKET_IPV6;
if (s_test_socket(allocator, &options, &endpoint_ipv6)) {
Expand Down

0 comments on commit b561534

Please sign in to comment.