Skip to content

cacheprovider: --lf file-skipping feature doesn't work for files in packages #11054

@bluetech

Description

@bluetech

--lf has a feature where if a certain Module (python file) does not contain any failed tests, it is skipped entirely at the collector level instead of being collected and each item skipped individually. When this happens the collection summary looks like this:

run-last-failure: rerun previous 1 failure (skipped 1 file)

However, this feature doesn't work for Modules inside of Packages, only for those directly beneath the Session.

Metadata

Metadata

Assignees

Labels

plugin: cacherelated to the cache builtin plugintopic: collectionrelated to the collection phasetype: bugproblem that needs to be addressed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions