Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for connectBlocking cleanup (#1399) #1401

Merged
merged 1 commit into from Apr 27, 2024

Conversation

PhilipRoman
Copy link
Collaborator

Originally I wanted to simulate a real network interruption via TCP proxy, but I don't see any case where it would act differently to just ignoring the socket completely. As expected, the test fails on previous versions, without the fix in #1399

@PhilipRoman
Copy link
Collaborator Author

Interesting - on my local computer the state of client socket remains NOT_YET_CONNECTED, but on GitHub CI it is CLOSED. Most probably due to difference in execution speed. Hopefully it is not an actual race condition (although at this point I don't care - wrong ReadyState is the least of our problems right now)

@marci4 marci4 added this to the Release 1.5.7 milestone Feb 24, 2024
@marci4 marci4 added the Test label Feb 24, 2024
@marci4
Copy link
Collaborator

marci4 commented Apr 27, 2024

@PhilipRoman you want me to merge this?

@PhilipRoman
Copy link
Collaborator Author

whoops completely forgot about this

@PhilipRoman PhilipRoman merged commit c793f34 into master Apr 27, 2024
3 of 4 checks passed
@PhilipRoman PhilipRoman deleted the connect_blocking_cleanup_test branch April 27, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants