Skip to content

Conversation

jscarle
Copy link
Contributor

@jscarle jscarle commented Feb 13, 2024

Fixed the dequeueing of the _incoming queue following #1207 and added the related test to protect against future regressions.

@jscarle jscarle changed the title Fixed dequeueing of incoming queue Fixed dequeuing of incoming queue Feb 13, 2024
@jscarle jscarle reopened this Feb 13, 2024
@jscarle
Copy link
Contributor Author

jscarle commented Feb 13, 2024

@WojciechNagorski Following @Rob-Hague 's observation in #1207, there is indeed an issue where the incoming queue may not dequeue at the same rate as the expect queue if the data that has not been processed exceeds the size of the expect buffer. An improbable case, but nonetheless, this PR fixes that.

@jscarle
Copy link
Contributor Author

jscarle commented Feb 13, 2024

Additionally, I made sure that the full incoming queue is returned when Expect matches and not just the expected queue.

@jscarle
Copy link
Contributor Author

jscarle commented Feb 13, 2024

@WojciechNagorski @Rob-Hague This is ready to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants