Skip to content

Limit tasks per worker #329

Open
Open
@Neo-X

Description

@Neo-X

I can't seem to find any support to control the number of tasks a worker is allowed to process. I am thinking something similar to maxtasksperchild when creating a pool https://docs.python.org/2/library/multiprocessing.html#module-multiprocessing.pool.

Some of my tests use a library the uses gobal data structures that will conflict across tests. Is there an option for one worker per test?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions