-
Notifications
You must be signed in to change notification settings - Fork 167
TestListenerCustomConnIDs sometimes times out or fails #712
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
8000
Comments
From a little investigation, this seems to be related to |
Zacho2
added a commit
to Zacho2/dtls
that referenced
this issue
May 26, 2025
Fix a bug that caused the packet circular buffer to have an incorrect read index after a buffer resize occurs when the write index is less than the read index. When this occured, reading from a connection would erroneously block (packet(s) are in the buffer) and some buffered packets could be lost. Fixes pion#712
Zacho2
added a commit
to Zacho2/dtls
that referenced
this issue
May 26, 2025
Fix a bug that caused the packet circular buffer to have an incorrect read index after a buffer resize occurs when the write index is less than the read index. When this occured, reading from a connection would erroneously block (packet(s) are in the buffer) and some buffered packets could be lost. Partially fixes pion#712. This specifically fixes the test failure mode where the test times out due to blocking on reading a packet.
Zacho2
added a commit
to Zacho2/dtls
that referenced
this issue
May 26, 2025
Fix a bug that caused the packet circular buffer to have an incorrect read index after a buffer resize occurs when the write index is less than the read index. When this occured, reading from a connection would erroneously block (packet(s) are in the buffer) and some buffered packets could be lost. Partially fixes pion#712. This specifically fixes the test failure mode where the test times out due to blocking on reading a packet even though a buffered packet exists.
Zacho2
added a commit
to Zacho2/dtls
that referenced
this issue
May 26, 2025
Fix a bug that caused the packet circular buffer to have an incorrect read index after a buffer resize occurs when the read index is non-zero. When this occured, reading from a connection would erroneously block (packet(s) are in the buffer) and some buffered packets could be lost. Partially fixes pion#712. This specifically fixes the test failure mode where the test times out due to blocking on reading a packet even though a buffered packet exists.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your environment.
What did you do?
What did you expect?
The test to pass reliably
What happened?
I'm observing the test sometimes fail with two different failure modes. I originally encountered the the timeout failure mode when running all repository Go tests locally. When attempting to reproduce the timeout, I found a second failure mode.
The first failure mode is the test failing with a timeout. Here's example output from this failure:
The second failure mode appears to be a test condition not being met.
The text was updated successfully, but these errors were encountered: