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

test: fix parser split race condition #1791

Merged
1 commit merged into from
Aug 6, 2020
Merged

test: fix parser split race condition #1791

1 commit merged into from
Aug 6, 2020

Conversation

sangaman
Copy link
Collaborator

@sangaman sangaman commented Aug 6, 2020

This fixes a race condition in the Parser tests where multiple tests of concatenated and split packets in succession would create a race condition amongst packets in terms of which would get parsed first, making it possible for the packets from one test case to be parsed and received by another test case, thereby failing the tests.

This fixes a race condition in the Parser tests where multiple tests of
concatenated and split packets in succession would create a race
condition amongst packets in terms of which would get parsed first,
making it possible for the packets from one test case to be parsed and
received by another test case, thereby failing the tests.
@sangaman sangaman requested review from a user and LePremierHomme August 6, 2020 03:02
@sangaman sangaman assigned ghost and sangaman Aug 6, 2020
@sangaman sangaman mentioned this pull request Aug 6, 2020
@ghost ghost merged commit 646900a into master Aug 6, 2020
@ghost ghost deleted the test/fix-parser-split branch August 6, 2020 20:16
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant