Skip to content

test: e2e HTTP against granian --interface rsgi #12

Closed

Description

@ZhuchkaTriplesix

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, subprocess to start granian on 127.0.0.1:<port> with a minimal app module, httpx GET /, assert 200, then terminate. Use a sync httpx client with retry on port bind races.

Flakiness

  • Port allocation: use a random high port, retries, or pytest fixtures; document Windows caveats if the job is Linux-only at first.

Acceptance criteria

  • Green on Linux at minimum; mark optional for Windows if flaky.

Activity

  1. added this to the v0.2.0 milestone on Apr 26, 2026
  2. added a commit that references this issue on Apr 26, 2026
  3. linked a pull request that will close this issueIssue 15 pyo3 upgrade #44on Apr 26, 2026
  4. linked a pull request that will close this issueDev #45on Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions