Skip to content

Does not work with pytest-xdist #94

@iurisilvio

Description

@iurisilvio

Running with xdist, each worker and the controller execute the same code.

In the case of the controller, cache._flake8mtimes is never filled. Each worker generate a cache for part of the collected files.

At the end of execution, each worker write their data to the same cache (overwriting previous writes) and, after that, the controller write to cache an empty cache.

config.cache.set(HISTKEY, config._flake8mtimes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions