Visitar URL original
Increase test timeouts to 60 s to aid slower architectures by mgorny · Pull Request #20828 · matplotlib/matplotlib · GitHub
Skip to content

Increase test timeouts to 60 s to aid slower architectures - #20828

Merged
QuLogic merged 1 commit into
matplotlib:masterfrom
mgorny:test-timeout
Aug 12, 2021
Merged

QuLogic merged 1 commit into
matplotlib:masterfrom
mgorny:test-timeout

Conversation

@mgorny

@mgorny mgorny commented Aug 12, 2021

Copy link
Copy Markdown
Contributor

PR Summary

Increase the test timeouts from 10 s to 60 s. The Gentoo arch teams
have reported that the default timeout of 10 s is insufficient for
slower architectures (such as HPPA) and/or busy test systems.

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

(this is a trivial test constant change, so most of the points above are irrelevant)

Increase the test timeouts from 10 s to 60 s.  The Gentoo arch teams
have reported that the default timeout of 10 s is insufficient for
slower architectures (such as HPPA) and/or busy test systems.
@tacaswell tacaswell added this to the v3.5.0 milestone Aug 12, 2021
@QuLogic
QuLogic merged commit 6808f19 into matplotlib:master Aug 12, 2021
felixonmars added a commit to felixonmars/archriscv-packages that referenced this pull request Sep 14, 2026
Avoid floor(-inf) for zero AsinhLocator ticks in both rounding branches, preserving zero ticks through the existing sign multiplication. Extend the existing 0.024 inset connector image tolerance to riscv64. Cap pytest at eight workers and extend the sixfold CI subprocess timeout allowance to riscv64 without enabling unrelated CI-only skips.

The latest check passes 10237 tests and fails only the GTK3Cairo interactive timer case after 120 seconds. Exclude that exact backend/test combination under Xvfb, matching the existing upstream remote-CI skip. GTK3 and Cairo are installed; retain all other backend tests and the packaging Xvfb noreset fix. No matching upstream fix was found; PR 30271 acknowledges that this timer case is disabled in CI.

https://archriscv.felixc.at/.status/logs/python-matplotlib/python-matplotlib-3.11.2-1.log
numpy/numpy#32461
matplotlib/matplotlib#20828
matplotlib/matplotlib#30271
https://github.com/matplotlib/matplotlib/blob/v3.11.2/lib/matplotlib/tests/test_backends_interactive.py
https://github.com/matplotlib/matplotlib/blob/v3.11.2/lib/matplotlib/testing/__init__.py
https://github.com/matplotlib/matplotlib/blob/v3.11.2/lib/matplotlib/tests/test_inset.py
https://github.com/matplotlib/matplotlib/blob/v3.11.2/lib/matplotlib/ticker.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants