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

WIP: Test where asgi app is spammed with requests and the context (response headers) is always correct #78

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tomwojcik
Copy link
Owner

@tomwojcik tomwojcik commented Nov 26, 2022

@hhamana I tested your PR. It works fine. I'm worried about regressions where context is not cleared though.

I'd like to add a test where the client is spamming asgi app with requests. In the meantime, half of them fails. If we can check if response headers are correct after that, it should prove there are no regressions in real world apps with huge traffic.

The only thing left is to figure out why await asyncio.sleep is not working.

@tomwojcik tomwojcik changed the title WIP: Add concurrency test WIP: Add concurrency and failed request response header test Nov 26, 2022
@tomwojcik tomwojcik changed the title WIP: Add concurrency and failed request response header test WIP: Test where asgi app is spammed with requests and the context (response headers) is always correct Nov 26, 2022
@tomwojcik tomwojcik added the help wanted Extra attention is needed label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant