Skip to content

tests: linkcheck: add client connection-pool contention coverage#11402

Merged
AA-Turner merged 10 commits intosphinx-doc:masterfrom
jayaddison:issue-11324-prep/linkcheck-connection-contention-test-coverage
Jul 23, 2023
Merged

tests: linkcheck: add client connection-pool contention coverage#11402
AA-Turner merged 10 commits intosphinx-doc:masterfrom
jayaddison:issue-11324-prep/linkcheck-connection-contention-test-coverage

Conversation

@jayaddison
Copy link
Copy Markdown
Contributor

Feature or Bugfix

  • Test coverage

Purpose

Detail

  • Configure an artificially-limited connection pool by patching requests.Session.get_adapter
  • Create a multi-item linkcheck workload
  • Consume one item at a time from the workload from separate threads
  • Ensure that all items were consumed and that no timeouts occurred

Relates

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linkcheck builder: begin using requests.Session functionality during linkchecking

3 participants