Skip to content

Commit df3cde6

Browse files
jayaddisonpicnixz
andauthored
[tests] linkcheck: bind each test HTTP server to a unique port per-testcase (sphinx-doc#12126)
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent cb8a28d commit df3cde6

File tree

6 files changed

+217
-149
lines changed

6 files changed

+217
-149
lines changed

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ Testing
155155

156156
* pytest: report the result of ``test_run_epubcheck`` as ``skipped`` instead of
157157
``success`` when Java and/or the ``epubcheck.jar`` code are not available.
158+
* utils: use dynamic allocation of unused port numbers for the test HTTP(S)
159+
servers. As a side-effect, this removes the need for test server lockfiles,
160+
meaning that any remaining ``tests/test-server.lock`` files can safely be
161+
deleted.
158162

159163
Release 7.2.6 (released Sep 13, 2023)
160164
=====================================

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ test = [
9494
"defusedxml>=0.7.1", # for secure XML/HTML parsing
9595
"cython>=3.0",
9696
"setuptools>=67.0", # for Cython compilation
97-
"filelock",
9897
]
9998

10099
[[project.authors]]

tests/roots/test-linkcheck-raw-node/index.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)