test: e2e HTTP against granian --interface rsgi #12
Copy link
Copy link
Description
Context
- tests/test_asgi.py uses the ASGI transport; the RSGI path is not exercised end-to-end with a real HTTP server.
Work
- In CI,
subprocessto startgranianon127.0.0.1:<port>with a minimalappmodule,httpxGET /, assert 200, then terminate. Use a synchttpxclient with retry on port bind races.
Flakiness
- Port allocation: use a random high port, retries, or
pytestfixtures; document Windows caveats if the job is Linux-only at first.
Acceptance criteria
- Green on Linux at minimum; mark optional for Windows if flaky.
Reactions are currently unavailable
Activity
Merge pull request #36 from QueryaHub/issue-12-granian-rsgi-e2e