Skip to content

Commit

Permalink
[tests] linkcheck: bind each test HTTP server to a unique port per-te…
Browse files Browse the repository at this point in the history
…stcase (#12126)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
jayaddison and picnixz committed Apr 4, 2024
1 parent cb8a28d commit df3cde6
Show file tree
Hide file tree
Showing 6 changed files with 217 additions and 149 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ Testing

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

Release 7.2.6 (released Sep 13, 2023)
=====================================
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ test = [
"defusedxml>=0.7.1", # for secure XML/HTML parsing
"cython>=3.0",
"setuptools>=67.0", # for Cython compilation
"filelock",
]

[[project.authors]]
Expand Down
2 changes: 0 additions & 2 deletions tests/roots/test-linkcheck-raw-node/index.rst

This file was deleted.

0 comments on commit df3cde6

Please sign in to comment.