Skip to content

Commit

Permalink
tests: linkcheck: reduce worker count to one for 'test_TooManyRedirec…
Browse files Browse the repository at this point in the history
…ts_on_HEAD'
  • Loading branch information
jayaddison committed Apr 27, 2023
1 parent a6863bb commit 01c250e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude_patterns = ['_build']
linkcheck_timeout = 0.075
linkcheck_workers = 1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`local server <http://localhost:7777/>`_
2 changes: 1 addition & 1 deletion tests/test_build_linkcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def do_GET(self):
self.wfile.write(content)


@pytest.mark.sphinx('linkcheck', testroot='linkcheck-localserver', freshenv=True)
@pytest.mark.sphinx('linkcheck', testroot='linkcheck-localserver-too-many-redirects', freshenv=True)
def test_TooManyRedirects_on_HEAD(app, monkeypatch):
import requests.sessions

Expand Down

0 comments on commit 01c250e

Please sign in to comment.