Skip to content

cancel pytest.main() process from running #496

Open
@nirperl

Description

@nirperl

I run this:

def temp()
  result = pytest.main(params, [self.test_plugins])

with future:
self.future = self.executor.submit(temp, details.to_list())

I can't stop the future in middle of test run.
I can cancel the run when using Process, but then I can't use xdist hooks.

Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions