Skip to content

Commit

Permalink
a temp release fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Dec 16, 2024
1 parent f9f670a commit 6b187af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/socket_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,9 @@ static int s_test_outgoing_tcp_sock_error(struct aws_allocator *allocator, void
cleanup:
aws_socket_clean_up(&outgoing);
aws_event_loop_destroy(event_loop);

// wait for socket ref count drop and released
aws_thread_current_sleep(5000000000);
return result;
}
AWS_TEST_CASE(outgoing_tcp_sock_error, s_test_outgoing_tcp_sock_error)
Expand Down
2 changes: 1 addition & 1 deletion tests/tls_handler_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ static int s_tls_channel_shutdown_with_cache_test_helper(struct aws_allocator *a
ASSERT_SUCCESS(s_tls_channel_server_client_tester_cleanup());

// wait for socket ref count drop and released
aws_thread_current_sleep(3000000000);
aws_thread_current_sleep(5000000000);

return AWS_OP_SUCCESS;
}
Expand Down

0 comments on commit 6b187af

Please sign in to comment.