Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.
This repository was archived by the owner on May 29, 2024. It is now read-only.

The plugin does not fire any setup / tear down events for child threads make it extremely hard to implement extensions #112

@HardNorth

Description

@HardNorth

The plugin works around calling pytest_runtest_protocol hook of pytest. It does not signal to new forks when test processing starting (lesser problem) and does not signal when test processing ended (greater problem). This makes impossible to gracefully finish other plugins which work during the whole pytest lifecycle. E.G. in my project I can't catch the moment when to upload the last log batch on our server. Thus I constantly lose the tail of logs if my users use pytest-parallel. And I can't also use fully async client by the same reason. I won't get the whole batch of test items because pytest-parallel terminates child process execution instantly.

The situation makes me deprecate using pytest-parallel along with my plugin. Unless pytest-parallel provide necessary options.

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