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

Fixed an issue with running the same test multiple times sequentially #1091

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 31, 2024

  1. Fixed an issue with running the same test multiple times sequentially

    When pytest_runtest_protocol is called with item==nextitem multiple times, with a test that accepts some fixtures -> the second call forward raises an error.
    
    This is caused in WorkerInteractor when the same test appears twice in a row in the queue.
    
    So if this specific case occurs, ensure nextitem is called with None instead.
    yuvalino authored May 31, 2024
    Configuration menu
    Copy the full SHA
    c76c070 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d024f95 View commit details
    Browse the repository at this point in the history