Skip to content

Question: Is it possible to create new subprocess for every test? #363

Description

@kittipatv

Hi,
I use -d --tx 2*popen//python=python3.7 to try to run my tests in subprocesses. However, it looks like the subprocess is reused between tests. I want each test to run in a fresh subprocess because I suspect that there are some memory leaking between tests. I tried using --forked but it had problem finding dependencies. Is there some flag I could pass to restart subprocess after each test?

Thank you,
Kittipat

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions