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 tests for parsing chunked data split before or in the final CRLF (#4630) #4651

Merged
merged 5 commits into from
Mar 25, 2020

Conversation

JustAnotherArchivist
Copy link
Contributor

What do these changes do?

This adds four tests for issue #4630.

Are there changes in behavior for the user?

Not for users, but for developers: three of the tests are currently failing (see that issue for details).

Related issue number

#4630

Checklist

  • (not applicable) I think the code is well written
  • Unit tests for the changes exist
  • (not applicable) Documentation reflects the changes
  • (not applicable) If you provide code modification, please add yourself to CONTRIBUTORS.txt
  • (not applicable) Add a new news fragment into the CHANGES folder

Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fix the linter failures.

@codecov-io

This comment has been minimized.

tests/test_http_parser.py Outdated Show resolved Hide resolved
tests/test_http_parser.py Outdated Show resolved Hide resolved
tests/test_http_parser.py Outdated Show resolved Hide resolved
JustAnotherArchivist and others added 2 commits March 25, 2020 02:34
Per webknjaz's suggestion

Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
@webknjaz webknjaz merged commit 84c8ca7 into aio-libs:master Mar 25, 2020
rhdxmr pushed a commit to rhdxmr/aiohttp that referenced this pull request Jul 1, 2020
PR aio-libs#4651 by @JustAnotherArchivist

This change adds tests that demonstrate the failures described in aio-libs#4630.
They are marked as xfail so that they don't affect the CI status.
Once the issue is fixed, they'll reported as XPASS and pytest will fail,
which would be a signal that it's time to remove the xfail markers
keeping the contents of the tests to prevent regressions.

(ref: https://pganssle-talks.github.io/xfail-lightning)


Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
asvetlov pushed a commit that referenced this pull request Oct 16, 2020
PR #4651 by @JustAnotherArchivist

This change adds tests that demonstrate the failures described in #4630.
They are marked as xfail so that they don't affect the CI status.
Once the issue is fixed, they'll reported as XPASS and pytest will fail,
which would be a signal that it's time to remove the xfail markers
keeping the contents of the tests to prevent regressions.

(ref: https://pganssle-talks.github.io/xfail-lightning)


Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
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.

3 participants