Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-test - Replace pytest-forked #80525

Merged
merged 4 commits into from
Apr 14, 2023
Merged

Conversation

mattclay
Copy link
Member

SUMMARY
  • Unit tests now report warnings generated during test runs.
  • Python 3.12 warnings about os.fork usage with threads (due to pytest-xdist) are suppressed.
  • Added integration tests to verify forked test behavior.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME

ansible-test

- Unit tests now report warnings generated during test runs.
- Python 3.12 warnings about `os.fork` usage with threads (due to `pytest-xdist`) are suppressed.
- Added integration tests to verify forked test behavior.
@ansibot ansibot added affects_2.16 feature This issue/PR relates to a feature request. needs_triage Needs a first human triage before being processed. new_plugin This PR includes a new plugin. test This PR relates to tests. labels Apr 14, 2023
@mattclay mattclay removed the needs_triage Needs a first human triage before being processed. label Apr 14, 2023
The output is unreliable, and the behavior is part of pytest-xdist, not the custom forked plugin.
@mattclay mattclay merged commit 676b731 into ansible:devel Apr 14, 2023
@mattclay mattclay deleted the at-pytest-forked branch April 14, 2023 22:14
@ansible ansible locked and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.16 feature This issue/PR relates to a feature request. new_plugin This PR includes a new plugin. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants