Skip to content

unknown error with scheduler=shell #17

Open
@Thomas-Bontemps

Description

@Thomas-Bontemps

I use the option --scheduler=shell to run the tests defined in the following test file named test.py :

import time
import pytest_parallel

@pytest_parallel.mark.parallel(1)
def test_1(comm):
    time.sleep(3)

@pytest_parallel.mark.parallel(1)
def test_2(comm):
    time.sleep(3)

@pytest_parallel.mark.parallel(1)
def test_3(comm):
    time.sleep(3)

Then I run the following command in the terminal :
pytest --n-workers=3 --scheduler=shell test.py

I tried to do it on two linux machines. It works well on the first one but returns the following error on the other one (my onera local machine):

Image

I checked the log files like .pytest_parallel/tmpmt02m8c4/test.py__test_1 but they are all empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions