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

fix testUpgradeWithUpgradePayloadInlineWithRequestWorks race #442

Merged
merged 2 commits into from
May 25, 2018

Conversation

weissi
Copy link
Member

@weissi weissi commented May 24, 2018

CC @karim-elngr , thanks for reporting!

Motivation:

testUpgradeWithUpgradePayloadInlineWithRequestWorks has a race condition
where two bytes could be read in one go whereas the expectation was that
they're sent separately.

Modifications:

fix the above race

Result:

Motivation:

testUpgradeWithUpgradePayloadInlineWithRequestWorks has a race condition
where two bytes could be read in one go whereas the expectation was that
they're sent separately.

Modifications:

fix the above race

Result:

- more stable tests
- fixes apple#434
@Lukasa Lukasa added the semver/patch No public API change. label May 24, 2018
@Lukasa Lukasa added this to the 1.8.0 milestone May 24, 2018
@weissi weissi merged commit 328bd8d into apple:master May 25, 2018
@weissi weissi deleted the jw-fix-434 branch May 25, 2018 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flaky testHTTPUpgradeTestCase.testUpgradeWithUpgradePayloadInlineWithRequestWorks (in docker)
3 participants